Usage of dashboard variable in queries

Viewed 22

I'm fairly new to grafana and I am confused how to solve this elegantly:

I have a custom dashboard variable ["device1", "device2", "device3"]. I know how to use the $(variablename) Syntax to query for the currently selected option.

But in an overview dashboard I want to query for all 3 devices from the variable. Is there a way to use the actual array instead of the currently selected option in queries? Or is there any other way that I could define a set of values per org by which I then can query?

Thx

0 Answers
Related