logo

NJP

Leveraging Time Series in Performance Analytics

Import · Oct 02, 2018 · article

When to Apply a Time Series

Daily data is very useful in many cases, but there are situations where applying a time series to aggregate the data gives additional context about your performance. Performance Analytics offers four different types of time series you can use, but it’s important to understand when you would want to use each type:

Type Example Use Case
Running 28d running Smooths out spikes in the data to make trends easier to spot. For example, looking at daily incident counts may show a drop every weekend, but a 7-day running average smooths out those drops.
30d running
7d running
12m running
3m running
6m running
13w running
4w running
4q running
To Date Fiscal quarter-to-date Shows cumulative scores for the period. This is very useful if you have a monthly target to hit, but you need to also see the velocity throughout the month.
Fiscal year-to-date
Month-to-date
Quarter-to-date
Week-to-date
Year-to-date
By Period By week Shows the cumulative scores for entire periods. While we may want to track the number of P1 incidents daily, the frequency is too low to have a daily target. Instead, we can set a target at the month level with a "By Month” time series. The current period will never appear in the results because it is incomplete.
By month
By fiscal quarter
By quarter
By fiscal year
By year
By Period (Including Partial) By week + The “+” version of the “By” Time Series includes partial periods so there will be a score for the current period. There is more explanation about this in the documentation.
By month +
By fiscal quarter +
By quarter +
By fiscal year +
By year +

Examples

Here are examples of most of the time series applied to a single daily indicator. Notice how the exact same data is used, but there is a clear difference in the scores and in the charts.

Daily scores

The following Time Series will have scores for every day as long as the base indicator is collected daily:

image

Weekly, monthly, quarterly, and yearly scores

These time series will only have a score for each period (whether week/month/quarter/year), and there is no score for each day in the period.

image

Applying a time series

When you define an indicator source, you specify the frequency which that score will be valid. You will want to choose the smallest frequency that will be needed. For instance, if we want to track number of new users per month (and never want to see the number of new users per day), we would select a monthly frequency. The monthly data can then be displayed as its native monthly number, or as a quarterly or yearly value by applying a time series. Most often, we will select a daily frequency because it is the most flexible. Automated indicators based on this indicator source will only be valid for this frequency.

image

You will also want to ensure that the conditions on the indicator source match the frequency. For example, a daily indicator source will normally have a condition similar to this one on “Incidents.New”:

image

Configure the indicator

There is nothing special that needs to be done on the indicator itself to allow a time series to be applied, but you can optionally exclude some time series if they are not valid for the indictors. For example, if your indicator is not valid until the period is fully complete, you may want to exclude the partial period time series (those with the + at the end). For automated indicators that use averages, you may want to exclude all AVG Time Series to avoid taking averages of averages.

image

Note: If you’re displaying an average, we recommend using a formula indicator that calculates the average value from two individual, automated indicators (a sum and a count).

Apply a time series in a scorecard

You can apply any valid time series on the Detailed Scorecard by selecting the time series in the top-right corner of the scorecard. Here is the same scorecard shown as a daily score and then with the “By week SUM” time series applied:

image

image

Apply a time series to a widget

In addition to the Detailed Scorecard, you can apply a time series to a dashboard widget within the widget configuration screen:

image

Here we can see the same widget showing the data with and without a time series applied:

imageimage

Here is a single score with a "By Month" time series applied and the originally daily screen.

imageimage

The full user documentation for time series can be found at: https://docs.servicenow.com/bundle/london-performance-analytics-and-reporting/page/use/performance-a...

Labels:

View original source

https://www.servicenow.com/community/performance-analytics-blog/leveraging-time-series-in-performance-analytics/ba-p/2270972