Gets the value from N period ago.
This is useful when comparing current data to 24 hours ago, 1 week ago, etc.
previous(TimeSeries, Period)
Parameter | Description |
---|---|
TimeSeries | A node with time series data. |
Period | The number of data intervals to look back. |
previous(@FlowRateSensor, 7): If the interval is set to daily, this expression will get the value from the same time last week.