Perform calculation with values from 2 different panels

I’m new to using Grafana and building dashboards. I have found my way around the JSON data I have to create a sample dashboard. This is how my dashboard looks at this time.

I want to calculate difference between the response times shown in the panels (basically 2 tests) in a 3rd panel. Any ideas on how to achieve this?

I’m using Infinity DataSource with UQL parser to display the panel data.

Hi,

You can’t mix data between panels. What you could try is to create a third panel with both the queries once more and then use Expression (the same tab as queries) or Transformations tab to calcualte the difference.

Hi @dawiddebowski Thanks for responding. Would you happen have any samples to achieve this? Problem is I’m not sure how to handle the entire data set. the column has about 300 items. Thaks in advance.

Is this how to work with expressions?

Thanks @dawiddebowski . Used Transformations below to get what i needed. Thaks again.