# Timeshift graph creation

**URL:** <https://community.grafana.com/t/timeshift-graph-creation/69083>\
**Category:** Configuration\
**Created:** [July 20, 2022, 1:02pm UTC](https://community.grafana.com/t/timeshift-graph-creation/69083 "2022-07-20T13:02:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cucpotn](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@cucpotn](https://community.grafana.com/u/cucpotn)\
**Post date:** [July 20, 2022, 1:02pm UTC](https://community.grafana.com/t/timeshift-graph-creation/69083/1 "2022-07-20T13:02:25Z")

</div>

I would need advice on grafana, influx, home assistant. I need to display an entity with timeshift in one graph. So, for example, the current temperature and the temperature -24 hours. I have no idea if it can be displayed like this in the graph.

---

<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:** [July 20, 2022, 1:35pm UTC](https://community.grafana.com/t/timeshift-graph-creation/69083/2 "2022-07-20T13:35:02Z")

</div>

Welcome

Are you using influxql or flux to query the data

Please post sample data?

---

<div class="post-metadata">

**Author:** ![cucpotn](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@cucpotn](https://community.grafana.com/u/cucpotn)\
**Post date:** [September 8, 2022, 5:35am UTC](https://community.grafana.com/t/timeshift-graph-creation/69083/3 "2022-09-08T05:35:37Z")

</div>

Welcome. So if I understand it correctly, I must prepare the data for the timeshift in influx? Grafana can’t load it directly from Influx?
