Applying time series to result or to contributing indicators
Summarize
Summary of Applying Time Series to Result or to Contributing Indicators
This document explains how to apply time series aggregation to formula indicators in ServiceNow, detailing the two options available: applying it to the result of the formula or to each contributing indicator individually. This affects how data is displayed in Core UI Performance Analytics widgets and Analytics Hub.
Show less
Key Features
- The Apply time series to result option determines whether the time series is applied to the final result or to each contributing indicator.
- When checked, the formula is evaluated first, followed by the application of the selected time series to the result.
- If unchecked, each contributing indicator is evaluated first with the default time series applied before the formula is calculated.
- Default time series settings only apply in specific contexts, such as the Analytics Hub and KPI Details, and must be set for results to reflect intended data visuals.
Key Outcomes
Understanding the difference between the two settings is crucial as it can significantly alter the results of your indicators. For example, applying a 7-day running average to the final result versus each contributing indicator can yield different insights. By testing both settings, you can determine which method better serves your analytical needs.
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.
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: