Please could someone assist me with how to specify the range so that it would start from the oldest to the last record in the bucket instead of the v.timeRangeStart and v.timeRangeStop
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
I would like to aggregate by the maximum value for each date not 24hours i.e. The highest value on 21st, 22nd and 23rd …etc of each day in the bucket.
Would this allow me to achieve that?
|> aggregateWindow(every: 1d, fn: max, createEmpty: false)