# Future Time Shift to support Forecast data

**URL:** <https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165>\
**Category:** Grafana Plugin Development\
**Created:** [December 4, 2017, 8:57pm UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165 "2017-12-04T20:57:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgg](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tgg](https://community.grafana.com/u/tgg)\
**Post date:** [December 4, 2017, 8:57pm UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/1 "2017-12-04T20:57:09Z")

</div>

I have some displays where I need a mixture of forecast and current data, or various mixes of times relative to each other.

I was hoping I could specify a future “Add time shift” so that I could nudge different graphs to different times (e.g. one to now+2d, another now+14d etc) Data is forecast power demand for a grid.

Actually it would be great if I could override time on individual series on a graph.

Any plans to support these scenarios?

![image](https://us1.discourse-cdn.com/grafana/original/2X/1/10e3bf3ade29bb21569856840ffb804f494c191d.png)

---

<div class="post-metadata">

**Author:** ![anon34853223](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon34853223](https://community.grafana.com/u/anon34853223)\
**Post date:** [December 27, 2017, 10:10am UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/2 "2017-12-27T10:10:12Z")

</div>

Hi,

According to this [issue](https://github.com/grafana/grafana/issues/6305) it should be supported.

Please use `+1d` in the Override relative time field instead of timeshift.

Please let me know if this works

Marcus

---

<div class="post-metadata">

**Author:** ![jeremylloyd3](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jeremylloyd3](https://community.grafana.com/u/jeremylloyd3)\
**Post date:** [May 15, 2020, 2:21pm UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/3 "2020-05-15T14:21:35Z")

</div>

Thanks Marcus. Your workaround does the job for fixed visualisations, but it removes the user’s ability to control what forecast data is displayed.

In my industry, our customers are often needing to analyse forecast data. Ideally, @tgg’s issue would be best solved by adding relative time ranges for future intervals (i.e. set a period of past data and a period of future data). E.g. the user could set the range from 3 hours in the past to 1 hour in the future.

Is there any plan relative time ranges for future periods?

---

<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:** [May 15, 2020, 2:47pm UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/4 "2020-05-15T14:47:45Z")

</div>

I would use dashboard time selector:

 ![image](https://us1.discourse-cdn.com/grafana/original/2X/7/7ad1cffcdae79ef54db9b2a89ee563271863a354.png)

---

<div class="post-metadata">

**Author:** ![jeremylloyd3](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jeremylloyd3](https://community.grafana.com/u/jeremylloyd3)\
**Post date:** [May 16, 2020, 2:25am UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/5 "2020-05-16T02:25:04Z")

</div>

I’m using Grafana v7. When I select ‘Apply time range’ in your picture above, my relative selection turns into an absolute time range which no longer updates:

Before applying:

 ![before](https://us1.discourse-cdn.com/grafana/original/2X/3/330cea8dc4d9b03acefea69aabf02e4d25635dfe.png)

After applying:

 ![after](https://us1.discourse-cdn.com/grafana/original/2X/3/36c3584572b6d96c933a4c7027c305b045be2681.png)

The goal would be to keep it at now()-3h to now()+1h, and have it update to new time intervals as required.

---

<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:** [May 16, 2020, 3:22pm UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/6 "2020-05-16T15:22:19Z")

</div>

v7 is still beta, so feel free to report issue. Anyway, if you configure time range via GET parameters in the URL:

```auto
from=now-3h&to=now%2B1h

```

it still works.

---

<div class="post-metadata">

**Author:** ![jeremylloyd3](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jeremylloyd3](https://community.grafana.com/u/jeremylloyd3)\
**Post date:** [May 17, 2020, 3:07am UTC](https://community.grafana.com/t/future-time-shift-to-support-forecast-data/4165/7 "2020-05-17T03:07:12Z")

</div>

Thanks for the workaround 🙂

I found a similar issue raised on the [Grafana Github](https://github.com/grafana/grafana/issues/24498) which looks like it was addressed in the last few days.
