Share query results between panels
The Dashboard data source lets you select a panel in your dashboard that contains the queries you want to share the results for. Instead of sending a separate query for each panel, Grafana sends one query and other panels use the query results to construct visualizations.
To share data source queries with another panel:
- Create a dashboard.
- Change the title to “Source panel”. You’ll use this panel as a source for the other panels. Define the or queries that will be shared. If you don’t have a data source available at the moment, then you can use the Grafana data source, which returns a random time series that you can use for testing.
- In the Use results from panel list, select the first panel you created.
You can click on any of the queries to go to the panel where they are defined.