I’m very new to Grafana. I’m going the route of writing custom sql queries to populate my panels (however I feel like there must be an easier way). Having said that, I’m noticing the dashboard values do not change when I use the default time selections Grafana gives. Do I have include date filter logic in the query?
select
sum(video_duration),
viewer_os_family
from grafana_dwh_mux_dimensions
where
batch_year='2023' and
batch_month='08' and
batch_day='25' and
$__dateFilter(view_time)
group by viewer_os_family
This is what I think is right, but it does not return data.
Start simple - remove that batch conditions and when you have working examole then add more complexity, e. g. batch conditions. You will see which step generates an error, so you will know what wrong.