Is it possible to hide a row if query is empty (Repeat on variable = None)?

I need to display a row only if certain metrics are present. Is that possible in Grafana6?
I tried to create a hidden dashboard variable that would be set to a single value if a metric is present and None if not present and was hoping that Repeat on that variable would hide if the variable is None.
Thanks

1 Like

HAve ypu find the answer…?

I’m hitting the same sort of requirement for one of my applications. Without going to Grafana Scenes, it doesn’t look to be possible to do this. Would be awesome to see this in Grafana to make rows of panels dynamic.

Hi in Grafana 12 there are Dynamic Dashboards, yet they are still experimental and they don’t encourage turning them on in prod. (I’m not sure if you can hide an entire row but definitely can hide a panel)
Edit: tested it, you can definitely hide an entire row / tab

1 Like