Skip to main content

timeSeriesGroupArray

Introduced in: v25.8.0 Sorts time series data by timestamp in ascending order.
This function is experimental, enable it by setting allow_experimental_ts_to_grid_aggregate_function=true.
Syntax
Arguments Returned value Returns an array of tuples (timestamp, value) sorted by timestamp in ascending order. If there are multiple values for the same timestamp then the function chooses the greatest of these values. Array(Tuple(T1, T2)) Examples Basic usage with individual values
Query
Response
Passing multiple samples of timestamps and values as arrays of equal size
Query
Response
Last modified on June 19, 2026