How to use different panel's values for comparison across panels?

  • What Grafana version and what operating system are you using?
    Grafana v9.2.1 | macOS Sonoma 14.2.1

  • What are you trying to achieve?
    To create a third panel that indicates which of the other two panels’ values is greater.

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?
    To say “yes” or “no” if the first panel is greater than the other.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

I’m using Infinity data source and stats panels.