Formula indicators
Formula indicators use data from other indicators to calculate new metrics.
Unlike automated indicators, formula indicators are not based on an indicator source that is populated during data collection. The score of a formula indicator is calculated from a mathematical statement that includes data from one or more other indicators. This data can be the score of an indicator or a PAFormulaUtils() calculated value for the indicator. For example, a formula can include the gap, or difference, between the score of an indicator and the indicator target value set in the Analytics Hub or KPI Details.
Important: Formula indicator scores are calculated when a user views the indicator on a dashboard or in KPI Details or the Analytics Hub.
Create a formula indicator in these cases:
- To calculate a score from multiple indicators, such as the average of two indicators.
- To extract a calculated value of an indicator from the PAFormulaUtils() API and perform operations on that value.
- To measure the gap to the overall target of multiple, combined indicators (an index indicator).
Tip: Training is available for creating and using formula indicators. See the course Formula Indicators Overview in the NOW Learning Center.
- Create a formula indicator
Calculate scores from the scores of one or more other indicators. Apply mathematical operations or a preset method, such as the method to calculate the gap between an indicator score and the indicator target. - Get analytics methods in formulas
To insert a calculated value from the Analytics Hub into a formula, use a method in the formula. - Prevent a contributing indicator in a formula from following breakdowns
You can select contributing indicators in a formula to not be broken down. When a user applies a breakdown to the formula indicator, the breakdown does not apply to these indicators. - Breakdown matrices in formula indicators
Formula indicators inherit breakdown matrices from indicators in the formula. - Applying time series to result or to contributing indicators
For a formula indicator, a time series aggregation can apply either to each indicator in the formula individually or to the formula result. - Detect indicators with no scores in a formula
As the formula creator, you can handle contributing indicators that have null scores. First set the formula indicator to calculate the formula even when it contains a null score. - Indexing multiple indicators in a formula
You can write a formula to measure what the gap is to the overall target of multiple, combined indicators. Such a formula indicator is called an 'index indicator'. - Changes to score_start/end because of different user time zones
For formula indicators, the values of the variablesscore_startandscore_endare calculated based on the time zone of the user who is executing the formula. If users in different time zones execute the same formula, the values ofscore_startandscore_endchange.
Parent Topic:Performance Analytics indicators