I use Grafana version v10.4.0.
I would like to generate a dropdown selection field in a dashboard where I can switch to other dashboards.
I assume that this can be done under Settings → Variables.
The problem is that I probably have a not quite usual configuration and combination of Grafana and an InfluxDB as data source. And that’s why I can’t find a suitable example in the documentation or on the Internet.
This is an example of what a query in Grafana Dashboard looks like for me:
SELECT mean(“Measured_values_house1”)
FROM “Temp_Dining_room”
WHERE $timeFilter
GROUP BY time($__interval) fill(linear)
But what should the query for an entire dashboard look like under Settings → Variables → Query?
I think (as you have inferred from the online docs) that there are (to my knowledge) no uses of a drop-down variable which will switch you to another dashboard. Variables are used to change a parameter within a query.
I think what you want instead are links on your dashboard which, when clicked, take you to another dashboard. For example, here are 3 HTML links to separate dashboards:
This dashboard is not linking to other dashbosrds when you change drop down value, it is just updating the same dashboard’s panels by using the value of the variable in the queries under each panel