Offset

Description

Returns the sample plus the offset for each sample in the input series

Input

 Time Series – multiple (Single or multiple time series.)

Parameters

 Offset

Mandatory, numeric  

The value to add to each sample (subtract from if negative) 

Output

Transformed Time Series: Multiple 

Available in

 Alerts, Composites, Dashboards 

The Offset function is used to add (or subtract) a fixed value to all data points in the metric. The function is often used to correct errors in data that was already streamed to Anodot, thereby avoiding the need to create new data streams for fixing it. 

Usage example 

Say you have a metric that tracks your company's billed expenses, and you've streamed the data via a new BigQuery stream. As you inspect the data in Anodot, you realize you forgot to take into account property tax of $20 per day. As it is a constant, recurring expense, you can easily add it using the Offset function:  

Offset_expression_1.png

Offset_expression_2.png

Offset_1.png

Note: To shift the time-series itself (instead of its values), use the TimeShift function. 

Was this article helpful?
0 out of 1 found this helpful