Linking library panels and variables

Hello everyone. I am using Grafana v11. I have created a library panel that uses 3 variables. However, when I import this library panel in a new dashboard, I need to create again the variables. Is there a way to automatically create the variables or to link them to a library panel?

Thank you very much!

1 Like

Iā€™m looking for this solution too.

Per-panel variables are not supported as of now, but there is a feature request you may follow:

You can create a dashboard with variables required for panel(s), and then just save it using Save as as many times as you need, instead of creating new dashboards from a scratch.