Transform Data displayed as a graph in the same panel

Hi ,
I am using Grafana version 11.1.4

I have 2 sql queries of time series data displayed in a panel which are displayed in the panel.

Also, I need to display the transformed data as a graph in the same panel.
The transformation data is the difference between the queries A and B.
Is it possible to do that?
Could someone advise?
Thanks.

check out the add field from calculation transformations:

https://play.grafana.org/d/Ose-IbEnz/transformation-calc-test?editPanel=2&tab=transformations

1 Like

Thanks for the reply. But if I am not wrong, it seems to work only for stats. I need to use it for timeseries data and then plot it as a graph.

it works for time series as well

1 Like