Sum Function

Calculates the sum for a set of time series data.

Syntax

sum(TimeSeries, Period)

Parameter Description
TimeSeries A node with time series data.
Period The number of data intervals considered in the function. Minimum number is 2.

Example expression

sum(@VolumeSensor, 24): If the interval is set to hourly, this will calculate the sum of the hourly readings for the past 24 hours.

Example chart