Note
Cross-dashboard variables is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.
To use this feature, enable the
grafana.dashboardGlobalVariablesfeature toggle in your Grafana configuration file or contact Support.
Unlike variables that are specific to the dashboard in which you build them, you can create cross-dashboard variables for use across multiple dashboards. These variables help ensure consistent naming across your organization and eliminate the need to re-create the same variables every time you add a new dashboard.
You can scope cross-dashboard variables in two ways:
- Globally: Available to all dashboards in the organization.
- By folder: Available only to the dashboards in the same folder as the variable.
The Dashboards > Variables page lists cross-dashboard variables, showing which ones are available globally or by folder. In the following image, there are variables in “Core metrics” and “Grafana Cloud” folders and then a number of variables that aren’t in any folders; these ones are global:

When you add cross-dashboard variables to a dashboard, only the ones that share the same scope as your dashboard are available for you to select.
For example, in the preceding image, there are two variables in the “Core metrics” folder. The following image shows a dashboard in the “Core metrics” folder. As a result, the variables in the “Core metrics” folder are available to that dashboard, as well as all the global variables:

Variables in other folders aren’t available to that dashboard.
Create cross-dashboard variables
To create cross-dashboard variables, follow these steps:
Navigate to Dashboards > Variables.
Click + New variable.
Set the following general variable properties: