---
sourceDocument: Xanadu Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/now-intelligence

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# Performance Analytics scores forecasts

# Performance Analytics scores forecasts {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 minutes to read

Performance Analytics enables you to forecast future scores based on past behavior. You can forecast scores on time series widgets, time series data visualizations, KPI Details, and the Analytics Hub. Forecast scores appear as a dotted line.

Forecasting is set up in the Forecasting tab of the indicator record. The number of data points included in the forecast depends on the indicator frequency and the number of Periods to forecast configured on the indicator. A period is a set number of scores based on the indicator frequency. Regardless of the settings and the forecast method, no more than 2688 forecast data points are generated.  
Note:  
In time series data visualizations on a configurable workspace, you can override the forecast configuration that is set on the indicator. This override applies only to that data visualization.

Also in time series data visualizations, you are not
limited to forecasts on Performance Analytics indicators. If you have a subscription version of Performance Analytics, you can generate forecasts for any data source except tables. For more information, see [Create time series visualizations](https://servicenow-prod.fluidtopics.net/82bh29EAI8Yl1yjuFhISAA "Show changes in data over time. Use different time series charts to emphasize different aspects of the data, such as trends or individual values.").

This functionality requires the Data Visualizations 24.0.x application from the ServiceNow® Store.
**Related tasks**   

* [Create an automated indicator](https://servicenow-prod.fluidtopics.net/F1ajYqIPRtS9gMNTzcX0qA#t_CreateAnAutomatedIndicator "To analyze the performance of a business process that is recorded in a ServiceNow table, use an automated indicator. If a suitable indicator is not provided in a Platform Analytics Solution, create a new one.")

## Configure forecasts on an indicator {#ariaid-title2}

In the record of an automated indicator, configure forecasts as they will appear on the Analytics Hub, Performance Analytics widgets, and time series data visualizations.

### Before you begin

Role required: pa_power_user, pa_admin, admin

### Procedure

1. Navigate to Performance AnalyticsIndicatorsAutomated indicators.
2. Open the automated indicator that you want to configure forecasts for.
3. Navigate to the Forecasting tab.
4. Set the following values:  
   {#configure-forecasts-indicator__table_h5s_nhr_5xb__entry__2}

   | Field | Description |
   |-|-|
   | Forecast method used | The statistical method the system uses to forecast values for this indicator. The default value is Auto, meaning that the system chooses a method that best fits the data. For more information, see [Selecting the forecast method](https://servicenow-prod.fluidtopics.net/F2ktyeqHR_EnWdSlGUceoQ#forecast-methods "If you are a statistics expert, you can select a forecast method manually. By default, the instance chooses the best method for you automatically, based on the fit of the method."). |
   | Periods to forecast | Number of data periods in the future to forecast scores for. Note: The length of the periods is based on the indicator frequency. For more information, see [Indicator forecast periods](https://servicenow-prod.fluidtopics.net/F2ktyeqHR_EnWdSlGUceoQ#forecast-periods "Depending on the frequency of the score, a different period length is selected. Consult the table to find out the length of the period that is used for your series."). |
   | Forecast lower limit | The lowest meaningful value of a forecast score. If a score lower than this value is forecast, this value is displayed instead. |
   | Forecast upper limit | The highest meaningful value of a forecast score. If a score higher than this value is forecast, this value is displayed instead. |
   [ ]

   {#configure-forecasts-indicator__table_h5s_nhr_5xb}
5. Select which scores to base the forecast on.

   | Option | Description |
   | All scores | All the scores that have been collected for this indicator |
   | Previous periods | The number of data periods before the present to base forecasts on. These data periods are the same length as the ones in Periods to forecast. If you select Previous periods, also specify the number of periods in the Periods field. |
   | Fixed start | All scores collected after a start date. If you select Fixed start, also specify the Start date. |
   |-|-|

   {#configure-forecasts-indicator__choicetable_jhq_bkr_5xb}

## Selecting the forecast method {#ariaid-title3}

If you are a statistics expert, you can select a forecast method manually. By default,
the instance chooses the best method for you automatically, based on the fit of the
method.

To determine the best fitting forecast method, the instance generates forecasts using each
forecast method with your historical data. The instance then compares those forecasts with the
latest data based on how far ahead you want to forecast. The instance performs this evaluation
each time it displays the forecast. Therefore, collecting additional scores or changing the
forecast period can alter which forecast method is used.

For example, if you configure an indicator with a daily frequency to forecast ahead two
periods, the instance applies each forecasting method to your historical data that is older
than two weeks. Then the instance compares those forecasts against the latest two weeks of
data. The forecast that most closely fits the latest two weeks of data is then recalculated
using the entire data set. The instance shows the results of this final calculation in the Analytics Hub or in KPI Details.

### Forecast methods {#forecast-methods__section_fsd_pzh_mz}

Performance Analytics can use the following standard forecast methods.  
{#forecast-methods__table_vhn_pmr_5xb__entry__2}

| Method | Description |
|-|-|
| Linear | Generates a linear regression forecast based on the historical scores, using constant and trend as explanatory variables. |
| Seasonal | Generates a linear regression forecast based on the historical scores, using seasonal dummies as explanatory variables. A 'season' for this analysis is one period. |
| Seasonal Trend | As Seasonal, but includes a trend as an explanatory variable. |
| Seasonal Trend Loess (STL) | Generates a seasonal forecast based on a best-fit function. This method fits a trend, a season, and a random noise process to the data using an exponentially weighted moving average approach. The forecast is based on the full data set, with more weight given to more recent observations A 'season' for this analysis is one period. |
| Random Forest (RF) | Creates a combination of decision trees where the predictions produced by these trees are averaged to get a single prediction. The randomness comes from each tree being built from a random subset of the available data and inputs. For more information about the random forest method, see this [Medium article](https://williamkoehrsen.medium.com/random-forest-simple-explanation-377895a60d2d). |
| Autoregressive (AR) | The autoregressive (AR) model forecasts future values of an indicator by using a linear combination of a trend, seasonal dummies, and past values. Like the Random Forest (RF) model, the AR model checks for the best number of lags. However, the AR model relates current to past values linearly, whereas the RF model is non-linear. |
[ ]

{#forecast-methods__table_vhn_pmr_5xb}

## Indicator forecast periods {#ariaid-title4}

Depending on the frequency of the score, a different period length is selected.
Consult the table to find out the length of the period that is used for your
series.
{#forecast-periods__table_un2_vch_dt__entry__3}

| Score frequency | Number of data points per period | Total period length |
|-|-|-|
| Daily | 7 | 1 Week |
| Weekly | 13 | 1 Quarter |
| Bi-weekly | 6 | 1 Quarter |
| Four Weekly | 13 | 1 Year |
| Monthly | 12 | 1 Year |
| Bi-monthly | 6 | 1 Year |
| Quarterly | 4 | 1 Year |
| Fiscal Quarterly | 4 | 1 Year |
| Half Yearly | 2 | 1 Year |
| Yearly | 4 | 4 Years |
| Fiscal Yearly | 4 | 4 Years |
[ ]

{#forecast-periods__table_un2_vch_dt}

## Forecasting and targets {#ariaid-title5}

When forecasting is enabled for an indicator and there is a global target defined, the
forecast shows when the target will be reached.

Additionally, the instance sends a notification 14 days before it expects the target to be
reached. You can change how many days ahead the notification is sent by setting the
pa.job.forecast.target.days_to_check property.

This functionality is available only for global targets. Thresholds and personal targets do not
interact with forecasts.
**Related concepts**   

* [Performance Analytics targets and thresholds](https://servicenow-prod.fluidtopics.net/2zlSRZHkVshm5TXpnIkB_w "Targets and thresholds enable you to define important points in your data and provide notifications when a score reaches a specific point.")

## Forecasting with time series aggregations {#ariaid-title6}

If you apply a time series aggregation to an indicator, the forecast period length
changes. The change depends on the type of the time series.
{#forecasting-time-aggregation__table_pzt_p5w_n4b__entry__3}

| Time aggregate | Effect on forecast period | Example |
|-|-|-|
| Running | The number of points in the period is equal to the "range" field value. | For a 7-day running sum, the forecast period has 7 data points. For a 28-day running sum, it has 28 data points. |
| By period | The selected period is treated as if it were the indicator frequency. | A "By week" time aggregate applied to a daily indicator has 13 data points per forecast period, which is a quarter long. This forecast period is the same as for a weekly indicator with no time aggregate. |
| To date | The period length matches the time span of the aggregation. The number of data points per period is a product of this time span and the indicator frequency. | See the rest of this section. |
[Table 1. Time series aggregation effects on forecast periods]

{#forecasting-time-aggregation__table_pzt_p5w_n4b}  
For an indicator with the Daily frequency, you have the following number of data points per period for to-date aggregations:{#forecasting-time-aggregation__table_ox4_b1q_l4b__entry__4}

| Week to date | Month to date | Quarter to date | Year to date |
|-|-|-|-|
| 7 | 30 | 91 | 365 |
[Table 2. Data points per period for a daily indicator with a to-date time aggregation]

{#forecasting-time-aggregation__table_ox4_b1q_l4b}  
With one exception, indicators with non-daily frequencies support only year-to-date among to-date time aggregations. Monthly indicators are the exception. They also support quarter-to-date time aggregations. A monthly indicator with a quarter-to-date aggregation has three data points per period. The number of data points per forecast period for different indicator frequencies with year-to-date aggregations follows:{#forecasting-time-aggregation__table_bbg_chq_l4b__entry__2}

| Indicator frequency | Data points per period, year to date |
|-|-|
| Daily | 365 |
| Weekly | 52 |
| Four-weekly | 13 |
| Biweekly | 26 |
| Quarterly (fiscal) | 4 |
[Table 3. Number of data points per forecast period for year-to-date time series aggregations]

{#forecasting-time-aggregation__table_bbg_chq_l4b}
**Related concepts**   

* [Applying time series aggregations](https://servicenow-prod.fluidtopics.net/k_Ohw_RPzVEMYuISHfc1UA#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.")

## Displaying indicator score forecasts {#ariaid-title7}

In the classic environment, show the forecasts on a time series widget or the Analytics Hub. On a configurable workspace, show the forecasts on a time series data visualization or KPI Details.

To show the forecast on a time series widget, select Show forecast in the Display Settings section of the Widget form. You can also show the 95% confidence interval of the forecast, by
selecting Show forecast range. For more information, see [Time series widgets](https://servicenow-prod.fluidtopics.net/nr0yrPYOKP8O43DXqo9LhQ "Time series widgets show changes in an indicator score over time. Different visualizations emphasize the trend in the scores or the scores themselves, and can display one indicator or compare several indicators.").

To show the forecast on the Analytics Hub, click the chart settings icon (![]()) and enable the Forecast option. Similarly, in KPI Details, open Chart options and enable Forecast.

To show the forecast in a time series data visualization, expand the Additional settings and turn on Show forecast. You have the option then to show the forecast range. You can override the forecast configuration for the indicator on this specific data visualization by opening Configure forecast.

To show the forecast for an indicator on KPI Details, turn forecasting on in the [Chart options in KPI Details](https://servicenow-prod.fluidtopics.net/b4Yj~mIEjvTwIbZzBXDEkw "The KPI Details Chart options menu enables you to show, hide, or change aspects of an indicator visualization. Selected chart options persist per user for each indicator. Chart options are divided into analysis, time series, and chart type options.").
**Related concepts**   

* [Analytics Hub for a specific indicator](https://servicenow-prod.fluidtopics.net/bG26olTYSes90AowZj1OhQ "Use the Analytics Hub to analyze indicator data deeply, such as by aggregating data, comparing scores, or viewing changes over time.")  
**Related reference**   

* [Additional settings for time series widgets](https://servicenow-prod.fluidtopics.net/FlQ25tkM_K3HpJCanX5kKw#optional-settings-ts-widgets "Time series widgets have the following optional settings for display, for the date range, and for the axis labels. You can also use these setting to select an elements filter in place of a first-level breakdown element.")
* [Indicator data options for time series visualizations](https://servicenow-prod.fluidtopics.net/FaY85jxU1ift9wRUwDPS5w "The following Data configuration options are available for all time series type visualizations of indicator scores.")
* [Examining indicators with KPI Details](https://servicenow-prod.fluidtopics.net/DVYJIzggAv0zPfo3DgSSBg "The KPI Details feature enables you to delve into the information behind your key performance indicators. Apply forecasts, trends, targets, and thresholds. Filter by breakdown element or apply time series aggregations.")

*[\>]: and then


