AsPercent

Description

 Returns the percentage of each sample at time t in the input time series of the value of the 'Total' parameter. If ‘Total' is not specified, Total is computed as the sum of all samples at time t from all input time series.

Input

 Series List – multiple (Series list.)

Parameters

 Total

Optional, numeric (Total of series list values.)

Output

 Transformed Time Series - multiple

Available in

 Alerts + Composite + Dashboards

When applying the AsPercent function on top of more than one metric, the contribution of each metric to the total will be presented (as percentage).

Example Use case 1:

The revenue from Channel X is normally 40-50% out of the total income. An anomaly, in this case, will be detected if the revenue from Channel X will drop to 20% out of the total income.

Example Use case 2:

The graph below presents the percentage of visitors on a website coming from 2 sources:

  • Web  - normal range: 40-50%
  • Desktop - normal range: 50-60%

Total: 100%

The graph shows that around mid-April, the % of visitors coming from the web got much higher than usual and the desktop visitors %, became much lower.

  • Web  - anomaly range: 55-75%
  • Desktop - anomaly range: 15-45%

Total: 100%

image__27_.png

Parameter: Optional. Leave the parameter empty in case your data covers 100% of measure.

For example: There are 1000 active users in total, coming from 3 regions: USA, UK and China.

  • Option 1: Anodot includes the data for all the regions - leave the parameter empty.
  • Option 2: Anodot includes the data only for USA and UK - write in the parameter "1000", to indicate that this is the 100% of the active users.
Was this article helpful?
0 out of 0 found this helpful