Aggregation by earliest value?


#1

I have a requirement to normalize at DAY interval and take the measurement that is closest to 00:00:00. I see that there are normalization treatments called LATEST and PREVIOUS, both of which take the latest value when aggregating. Is there a treatment that takes the earliest value?

I also see that there are earliest and earliestValue functions in the expression engine, but as far as I can tell those functions return identity timeseries, which doesn’t work for aggregation. I am interested in earliest aggregation at both normalization time and query time.