Need help with finding a way in Grafana 11.0.1 to set a panel to show time range 6am to 6pm everyday on one panel. Then on another panel show 6pm to 6am. Then not be able to change the range with the date picker. I’ve tried using the Jason in the 3 dot menu for the panel with timeFrom and timeTo, with no luck.
hello @nzeh welcome to grafana community , what datasource you are using ? try to do changes in query about this fixed time.
for postgresql
SELECT *
FROM your_table
WHERE $__timeFilter(time_column)
AND EXTRACT(HOUR FROM time_column) >= 6
AND EXTRACT(HOUR FROM time_column) < 18
I’m using influxql to get the data. I’m trying to get the current bottle count for first shift from the times 6am to 6pm on one panel. Then on another panel show the current day for second shift bottles ran 6pm to 6am. From what I’m seeing I can’t get this to work with influxql. If I setup Flux for influxdb then I can filter time ranges from what I’m seeing. I’m not looking for past data, I’m looking for current data.