Set a different offset for the time window in the previous aggregation. This aggregation mush therefore be used after an aggregation function like mean, min, max etc.
offset(ts)
Arguments | Description |
---|---|
ts | Offset. |
A float value.
# Select the mean grouped by 1 day using a two hours offset
select mean(1d) => offset(2h) from "series-001"