Grafana Alerts - Returned alert metrics value different than the graph ones

Hi,

I’m using Grafana 8.4.4 with the new Unified Alerting platform.
I created alert on a percentile value:

  • timeRange: now - 2h to now
  • Query A: SELECT percentile(value, 90) FROM myTable GROUP BY time(1h)
  • expr
  • Evaluate every 1h for 0m
    image

When alert is fired, I receive a notification but the value of the evaluated metric is different than what my graph displays.

How can I fix it ?

Thanks!

Here is an exemple:
Alerte details


Related notification note that I don’t have such value (702) in the alert graph
image