Metrics based on variable value

mysql
#1

Dear all,
first of all let me thank Grafana developers, it is an impressive work making data representation much easier.
Coming to the question: I need to display more that one metric in one panel and currently I use multiple queries. As not all of them are needed at the same time, is there any way to calculate and display the metrics according to the checkbox in a custom variable ?
My data source is MySQL

Thank you for your support
Gaetano

#2

Yes it is possible!!
you can see a example