# Time Series Expressions

Operations

#### Difference

###### Description:

The Difference operation creates a Result by calculating the difference between each consecutive value (row) of Input 1. This operation expects the data to be sorted in time order and for each row, subtracts the value above it.

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Decimal

#### DifferencePercent

###### Description:

The DifferencePercent operation creates a Result by calculating the difference in percentage between each consecutive value (row) of Input 1. This operation expects the data to be sorted in time order and for each row, divides by the value above it.

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Decimal

#### CumulativeMovingAverage

###### Description:

The CumulativeMovingAverage operation creates a Result by evaluating Input 1.

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Decimal

#### SimpleMovingAverage

###### Description:

The SimpleMovingAverage operation creates a Result by evaluating Input 1 and Input 2.

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Decimal

#### CumulativeMovingMedian

###### Description:

The CumulativeMovingMedian operation creates a Result by evaluating Input 1.

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Decimal

#### SimpleMovingMedian

###### Description:

The SimpleMovingMedian operation creates a Result by evaluating Input 1 and Input 2.

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Decimal