Show a query only if another query value is not 0

Hi everyone,

I am designing a dashboard with data coming from an InfluxDB database. My data are timeseries.
I have two queries :

  1. the return signal of a valve position : either 0 or 1
  2. the flowrate measure by a flowmeter set after the valve.

I would like to show the flowrate if the valve position is 1 and not show the flowrate if the valve position is 0 but I don’t understand how I can do it in Grafana.
Has anyone an explanation ?

Thanks in advance,

This topic was automatically closed after 365 days. New replies are no longer allowed.