# Refresh panel but different data, even though same query

**URL:** <https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729>\
**Category:** PostgreSQL\
**Tags:** refresh\
**Created:** [August 2, 2024, 5:48pm UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729 "2024-08-02T17:48:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmorgan466](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rmorgan466](https://community.grafana.com/u/rmorgan466)\
**Post date:** [August 2, 2024, 5:48pm UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729/1 "2024-08-02T17:48:36Z")

</div>

- What Grafana version and what operating system are you using?  
v9.2.4

- **What** are you trying to achieve?  
Refreshing data

- **How** are you trying to achieve it?  
Pressing the refresh button on grafana (not brower).

- What happened?  
I see different data on each refresh eventhough my time range is fixed. I am not using relative time.

- What did you **expect** to happen?  
I expect to see the same data.

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

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

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [August 2, 2024, 6:35pm UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729/2 "2024-08-02T18:35:37Z")

</div>

> [@rmorgan466](#):
>
> my time range is fixed

What’s that “fixed” time range? Last [hour/day/week/month]? 😃  
Use the query inspector and provide queries, which were executed and their result was different.

---

<div class="post-metadata">

**Author:** ![rmorgan466](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rmorgan466](https://community.grafana.com/u/rmorgan466)\
**Post date:** [August 2, 2024, 6:40pm UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729/3 "2024-08-02T18:40:38Z")

</div>

The fixed time range is a yyy-mm-dd hour:minute. Taking grafana out of the equation. When I run the query (postgresql) I too get different results. So, I am not sure why thats happening…

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [August 2, 2024, 6:42pm UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729/4 "2024-08-02T18:42:04Z")

</div>

You should know your data - maybe it’s live changing. it’s not a Grafana issue.

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [August 2, 2024, 10:16pm UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729/5 "2024-08-02T22:16:51Z")

</div>

> [@rmorgan466](#):
>
> fixed time range is a yyy-mm-dd hour:minute

that is a date time format not a time range. what is the time range in date picker? or in the query itself?

---

<div class="post-metadata">

**Author:** ![ebabeshko](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@ebabeshko](https://community.grafana.com/u/ebabeshko)\
**Post date:** [August 3, 2024, 4:51am UTC](https://community.grafana.com/t/refresh-panel-but-different-data-even-though-same-query/127729/6 "2024-08-03T04:51:29Z")

</div>

> [@rmorgan466](#):
>
> When I run the query (postgresql) I too get different results

May be you are using `LIMIT` keyword in your query without `ORDER BY` or something else. At least you checked that Grafana results are consistent with datasource, so it’s not a Grafana issue
