Dashboard Values and Panel "View" Values are Different


i’ve encountered a issue while monitoring using prometheus:

into the dashboard view i have read a value from a time-series panel, naming it “x” and i have to compare it with an external data, naming it “y”, and this data is absolutely not as expected. so i’ve tried to open the panel “view” and the same data, after refreshing it, become correct, naming it “z”.

in conclusion, z is closer to y than x, so they are different but the metric from which i extrapolated this data is the same.

the prometheus query that i used is in the form:
<metric_name>{} and i use the same interval (in the panel) as the original query interval

can anyone help me to resolve this issue, it’s ever happen to anyone?

thanks in advance