Hello Community.
I have the following problem:
If I go into a dashboard where the time range is set to “Today” for all panels, I do not see the panel with the info for the previous month: “Data outside time range”
The query is:
import “experimental/date/boundaries”
lastMonth = boundaries.month(month_offset: -1)
from(bucket: “dtu”)
|> range(start: lastMonth.start, stop: lastMonth.stop)
|> filter(fn: (r) => r[“_measurement”] == “mqtt.0.solar.1.0.power”)
|> filter(fn: (r) => r[“_field”] == “value”)
|> aggregateWindow(every: 30m, fn: last, createEmpty: false)
|> yield(name: “last”)
The same panel in another dashboard with the period “Previous month” works without any problems.
What do I have to do to integrate this panel into the correct dashboard (time period: today) so that it also works?
Grafana v11
InfluxDB v2