Outputs the most recent valid data point. This function is used to extend through gaps in data.
last(TimeSeries)
Parameter | Description |
---|---|
TimeSeries | A node with time series data. |
last(@PressureSensor): If the interval is set to daily, and there are gaps in the daily sensor data, this expression will report the most recent valid data point in those gaps.
In this chart we can see that the sensor (blue series) has no data point for December 22nd, while the time series using the Last function (black series) does have a data point, which is equal to the last valid data point (from December 21st).