Applying time series to result or to contributing indicators
-
- UpdatedAug 3, 2023
- 3 minutes to read
- Vancouver
- Performance Analytics
For a formula indicator, a time series aggregation can apply either to each indicator in the formula individually or to the formula result.
- The default time series applies only on the Analytics Hub and KPI Details. If you do not select a time series aggregation on a widget or data visualization, the default time series does not apply.
- For the setting to take effect on the Analytics Hub or KPI Details, you must choose a real aggregate, if the indicator does not have a default time series set. If the time series is just the indicator frequency (daily, weekly, and so on), theApply time series to result setting does not apply.
When Apply time series to result is checked, first the formula is evaluated and then the selected time series is applied to the final result. When Apply time series to result is not checked, each contributing indicator is evaluated and the default time series is applied to it. Then the formula is evaluated. The results between the two settings can differ significantly. Neither setting is wrong, but you have to think carefully about what you are measuring before making your choice.
Example: Applying a time series to result compared to applying it to contributing indicators
Consider the formula indicator "% of new P1 incidents". Every day this indicator calculates the percentage of new incidents that are Priority 1 - Critical:
You decide that you want the result to display a 7-day running average by default on the Analytics Hub. In the
Other tab of the indicator record, you select the 7d running AVG default
time series. You apply the time series to the result.
In the resulting calculation, the formula is resolved for each day. Then the average of the result is taken for that day and the previous six days:
You aren't sure if you want the 7-day average of the final result or the average 7-day average of each indicator. So, you copy the previous formula indicator, with the same time series, but with Apply time series to
result unchecked. Now, the time series is applied to the Number of new incidents > Priority = 1 - Critical
and Number of new incidents
contributing indicators separately before
the formula is resolved:
You plot both formula indicators in a time series widget to see the difference in outcome
between the two settings. Because the default time series only applies on the Analytics Hub, you also add the 7d
running AVG time series to the widget:
Related Content
- Create a formula indicator
Create a formula indicator to produce a new computed score from one or more other indicators. Besides indicator scores, the formula can include calculations such as 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.
- 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 variables score_start and score_end are 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 of score_start and score_end change.
- Applying time series aggregations
You can aggregate changes in indicators into discrete time intervals. These aggregations can make trends more easily visible, or help track progress against a target.