Dynamic Panels (show and hide Panels depending on the selected variable)

Hi, I’m working with Grafana v11.3.0 + influxDB.
I’m trying to create dynamic panels. So I create a custom Variable e.g (a1,a2,a3,all).
For each Variable i have one Panel. Now i want if i choose the variable e.g. a1, that only one Panels appears and the other should be invisible.
Do you have any Idee how i can achieve this?

Thanks for your help.

you cant hide or show panels based on variables unfortunately

Is there an other way to achieve something like that?
Maybe with a python skript?

i guess you could try replace dashboards with provisioning using the api, but i have not tried this

yes I think I have to try it with the Grafana API.

Thanks for your reply

You could do this with business chart plugin

chrome-capture-2024-11-15