Filter by gauge is possible?

Hello! I’m a beginner with Grafana dashboards and I was looking for an option avaiable in other dashboard programs.

Lets say I have a gauge showing the number of milk bottles in my shop. Also, I have a table showing all the recipes I know. What I want is to click on the milk bottles gauge so it applies a filter on all the dashboard, filtering it by the recipes with milk.

Is it possible to do in Grafana? If so, how do I do it? Thank you!

Maybe you could accomplish what you want with this:

I’m not exactly sure what you want to accomplish. If you want to use the current number of milk bottles in other queries, you could use this syntax: $Bottles
(this requires that you have a Grafana variable called “Bottles”)
(variables can be made invisible on dashboard btw)

Don’t worry mate, this plugin was very useful, thank you so much.

Now I have another problem. I don’t know why, when I create a variable it always says that its not referenced in my dashboard. I created a question a few days ago, maybe you can help me there. This is the link, and thank you again for the plugin!
Grafana variables does not filter - Grafana / Dashboards - Grafana Labs Community Forums

1 Like