Is there any way to use metric #A output in metric #B?

My scenario is like below

Datasource: Influxdb

#metric A: Getting one value from “select” query.
#metric B: want to use #A value to “where clause” of this metric.

I tried to use templates but “select” query doesn’t work nicely in there.

Thanks in Advance!


Using raw query mode and influxdb subqueries may help you.