Quantcast
Channel: InfluxDB - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 200

Get timestamp info of max daily aggregate value

$
0
0

Hello,

I’m using solar panel, I will need to identify for each day, when max production value is.

I would like also to get the timestamp and max value of daily aggregate

Basic query well provides the max value but I do not know when this max value was produced
For exemple : Today exemple 356 at 1:21pm

from(bucket: “Solar”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“_measurement”] == “Total Power”)
|> aggregateWindow(every: 1d, fn: max, createEmpty: false)

Return

Thanks in advance for your support

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 200

Trending Articles