Ive got one simpel question (I think) so hope that someone can help me quickly.
I have a dashboard with multiple panels, and would like to pin 1 of them to ‘the last 7 days’, is that possible? the other panels are allowed to show ‘the last hour’
because when I go to the dashboard the time is automatically set to ‘the last hour’ again.
What is the data source of that one panel you want to pin
Influxdb
Ive got a query like this , look at the last sentence. I’m actually saying that I want to see the output PER day, but Grafana doesn’t seem to care about this in the dashboard and changes this to every hour again.
from(bucket: "home_assistant")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["_measurement"] == "binary_sensor.deurbel_ringing_sensor")
|> filter(fn: (r) => r["_field"] == "state" and r["_value"] == "True")
|> aggregateWindow(every: 1d, fn: count)