# Multi metrics in a multi variables

**URL:** <https://community.grafana.com/t/multi-metrics-in-a-multi-variables/53754>\
**Category:** Prometheus\
**Created:** [September 24, 2021, 9:35am UTC](https://community.grafana.com/t/multi-metrics-in-a-multi-variables/53754 "2021-09-24T09:35:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![enrique1987](https://avatars.discourse-cdn.com/v4/letter/e/a183cd/32.png) [@enrique1987](https://community.grafana.com/u/enrique1987)\
**Post date:** [September 24, 2021, 9:35am UTC](https://community.grafana.com/t/multi-metrics-in-a-multi-variables/53754/1 "2021-09-24T09:35:50Z")

</div>

Hi I would like to know if its possible to monitoring different metrics on a multiple variable.  
Ill try to explain me:

I have a custom variable with:  
$Var3  
Mrtric1 : mymetric1  
Metric2 : myothermetric

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/2/b/2b05f96ec5c33cc1470fdade3a147ad164db0871.png)

I would like to have the possibility to monitor the 2 metrics in one panel.

![image](https://us1.discourse-cdn.com/grafana/original/3X/a/7/a7ae5bc13f85b8ada8d7efae03ccb134bb1d48c2.png)

Its taht posible ? as the metric is in as the metric is interpreted when you choose the multiple option as Metric1 + Metric2 it return a error because the Metric M1 + M2 doesnt exist.

Thanks in advance  
Enrique

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [September 29, 2021, 9:56pm UTC](https://community.grafana.com/t/multi-metrics-in-a-multi-variables/53754/2 "2021-09-29T21:56:10Z")

</div>

Hi @enrique1987

I think you should check out these example dashboards. They have the functionality you want (I believe). You can look at how they have constructed their variables, and you can inspect the queries to see how the template variables are used:

[https://play.grafana.org/d/000000002/influxdb-templated?orgId=1](https://play.grafana.org/d/000000002/influxdb-templated?orgId=1)

[https://play.grafana.org/d/cvDFGseGz/graphite-templated-nested?orgId=1](https://play.grafana.org/d/cvDFGseGz/graphite-templated-nested?orgId=1)

[https://play.grafana.org/d/CknOEXDMk/elasticsearch-templated?orgId=1](https://play.grafana.org/d/CknOEXDMk/elasticsearch-templated?orgId=1)

> **[Templates and variables](https://grafana.com/docs/grafana/latest/variables/)**
>
> Templates and variables A variable is a placeholder for a value. You can use variables in metric queries and in panel titles. So when you change the value, …

---

<div class="post-metadata">

**Author:** ![enrique1987](https://avatars.discourse-cdn.com/v4/letter/e/a183cd/32.png) [@enrique1987](https://community.grafana.com/u/enrique1987)\
**Post date:** [September 30, 2021, 12:47pm UTC](https://community.grafana.com/t/multi-metrics-in-a-multi-variables/53754/3 "2021-09-30T12:47:51Z")

</div>

Thank you very much @anon70503803 , I even didnt know that "[https://play](https://play)… really cool Thanks
