Hello,
I would like to display the current value for the current day in this chart in Grafana:
The values for the current day are stored in a separate measurement, “Wind-currentDay.” However, I only need the last and current value for display purposes.
The query without the daily value looks like this:
from(bucket: “iobroker_all”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“_measurement”] == “Wind-PerDay”)
|> filter(fn: (r) => r[“_field”] == “value”)
The query should contain the data from “Wind-ProDay” and additionally the current data from “Wind-currentDay.” The data from “Wind-currentDay” should then be displayed in Grafana as an additional bar.
How do I adjust the query?