Outputs the most recent valid data point. This function is used to extend through gaps in data.



Input Data*

Defines the time series data fed into the function. This can be a sensor ID or another function.

*Input data is optional in most cases. If Info360 detects that the first input is time series data, it will be applied to the function. Otherwise, the current active sensor's data will be used, which is often the case in Reference Charts.

Example Usage as an Expression:

IIF(Close()*0!=0, Last(Hour())+1,0) - If the sensor stops sending data, this will output the hour that the most recent data point was received. 

Example Reference Chart:

The below example shows Last() applied to a pressure sensor with a gap in the data. Last() continues to report the most recent valid data point.

For information on setting up custom equations and syntax, please refer to Analytical Functions.