How do I use prometheus query result from a different query in the same panel in Grafana.
Example,
I have 3 Prometheus queries in Grafana,
sum(increase(metric1[1h]))say,#Asum(increase(metric2[1h]))say,#B
Now, in the 3rd query I want to calculate the percent difference using the two results, similar to what we were able to do using Graphite metrics.
(#B - #A)/#A
How can I achieve this since Grafana does not seem to recognise these identifiers in Prometheus queries.

