# Selecting multiple time-frames to compare data/performace

**URL:** <https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644>\
**Category:** Kibana\
**Created:** [January 10, 2020, 5:33pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644 "2020-01-10T17:33:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rosamar](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rosamar](https://discuss.elastic.co/u/rosamar)\
**Post date:** [January 10, 2020, 5:33pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/1 "2020-01-10T17:33:23Z")

</div>

Is it possible to show the same data in a visualization/dashboard for 2 or more different time-frames to give a visual indication of production trends and similar details to the end-user?  
Thank you

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [January 10, 2020, 5:52pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/2 "2020-01-10T17:52:20Z")

</div>

Your best option here is to utilize the "Timelion" visualization type. Here you can create two visualizations on different offset time ranges.

I'd recommend checking out the "Offsetting data source" section of this blog post: [https://www.elastic.co/blog/timelion-tutorial-from-zero-to-hero](https://www.elastic.co/blog/timelion-tutorial-from-zero-to-hero)

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [January 10, 2020, 6:14pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/3 "2020-01-10T18:14:42Z")

</div>

There is also a feature in 7.4 for customizing the time range of specific panels in a dashboard: [https://github.com/elastic/kibana/pull/43153](https://github.com/elastic/kibana/pull/43153)

---

<div class="post-metadata">

**Author:** ![rosamar](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rosamar](https://discuss.elastic.co/u/rosamar)\
**Post date:** [January 10, 2020, 6:40pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/4 "2020-01-10T18:40:58Z")

</div>

Thank you so much! I will check it out right away!

---

<div class="post-metadata">

**Author:** ![rosamar](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rosamar](https://discuss.elastic.co/u/rosamar)\
**Post date:** [January 10, 2020, 6:42pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/5 "2020-01-10T18:42:00Z")

</div>

Thank you so much! I will check with my head-of-dev and see if that's something we can use !

---

<div class="post-metadata">

**Author:** ![rosamar](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rosamar](https://discuss.elastic.co/u/rosamar)\
**Post date:** [January 16, 2020, 6:45pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/6 "2020-01-16T18:45:15Z")

</div>

@joshdover I am using a version lower than 7.4 and most metrics (all but count) do not show any data in the diagram. Do I need to upgrade to 7.4 or 7.5 to have them all work?

Sample working query:  
`.es(index=jos_data*, timefield=@timestamp, metric=count)`

Sample query not working:  
`.es(index=jos_data*, timefield=@timestamp, metric=avg:message.payload.severity)`

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [January 28, 2020, 5:21pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/7 "2020-01-28T17:21:16Z")

</div>

We can follow the new question in the other open post.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [January 28, 2020, 5:21pm UTC](https://discuss.elastic.co/t/selecting-multiple-time-frames-to-compare-data-performace/214644/8 "2020-01-28T17:21:22Z")

</div>


