Insert a mathematic function

I have 4 graphs A, B,C and D, I want to get the graph of results for a function like (A+B)/(A-B), but I don’t know how!
Thank you for your help.

You have not told us what data source you are using but with influx you can do
SELECT (mean("A")+mean("B"))/(mean("A")-mean("B")) FROM "whatever" WHERE $timeFilter GROUP BY time($__interval) fill(none)

I am using influxdb data. The graphs are temperatures values. After what you replied to me, I shoud write: SELECT (mean(“VTVMCAirinterieur”)+mean(“VTVMCAirneuf”))/(mean(“VTVMCAirinterieur”)-mean(“VTVMCAirneur”)) FROM “TVMCAirinterieur”, “TVMCAirineuf” WHERE timeFilter GROUP BY time(__interval) fill(none) ?
Thank you for your help.

I haven’t tried it where they come from different measurements. Does it work?

No. From the same measurement, I can’t saved what I edited in the toggle mode

What are TVMCAirinterieur and TVMCAirineuf then?
What do you mean you can’t save it?

Also you seem to have lost some $s

Hi, I think this plugin does exactly what you need:

  • take allok at arithmetic examples.