Tile shows different results in view & edit mode

  • What Grafana version and what operating system are you using?
    Grafana v12.0.2

  • What are you trying to achieve?
    Show numerical Prometheus query result in a panel.

  • How are you trying to achieve it?
    I have a Prometheus query which provides a numerical value (number of x). I use that query in the panel to show the result.

  • What happened?
    In the View mode (dashboard) I see “No data”. When I edit the panel and it’s loaded, I still see “No data”. But if I wait for the next automatic refresh (5s), than the expected data is shown. Consequent refreshes still show data. But when leaving the edit mode and go back to view mode. On first panel load, the data is shown, but after automatic refresh (5s), the data disapears.

  • What did you expect to happen?
    The query result is consistently shown no matter in which mode the dashboard is in.

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

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

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