# Fix time range for time series data panel

**URL:** <https://community.grafana.com/t/fix-time-range-for-time-series-data-panel/89211>\
**Category:** Dashboards\
**Created:** [June 8, 2023, 3:23am UTC](https://community.grafana.com/t/fix-time-range-for-time-series-data-panel/89211 "2023-06-08T03:23:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexmondaini](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@alexmondaini](https://community.grafana.com/u/alexmondaini)\
**Post date:** [June 8, 2023, 3:23am UTC](https://community.grafana.com/t/fix-time-range-for-time-series-data-panel/89211/1 "2023-06-08T03:23:13Z")

</div>

My data source is postgres and I want to fix a time range for a specific panel, so as when the time range button is changed my graph does not change.

 ![16861944964068293695420553927744](https://us1.discourse-cdn.com/grafana/original/3X/e/5/e5f88bf08eeaf72a6372d02de611db4bdd97730a.jpeg)

As one can see in this picture, I have a query but whenever I select a different range on the top bar that will change my chart. I would like to have it fixed from now - 2M actually.

---

<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:** [June 8, 2023, 6:00am UTC](https://community.grafana.com/t/fix-time-range-for-time-series-data-panel/89211/2 "2023-06-08T06:00:45Z")

</div>

Can you please share your query with us. Copy and oaste it from grafana instead of a photograph
