# Kibana 5.5 Is it possible to have distinct date ranges for each visual item on a Dashboard?

**URL:** https://discuss.elastic.co/t/kibana-5-5-is-it-possible-to-have-distinct-date-ranges-for-each-visual-item-on-a-dashboard/113938
**Category:** Kibana
**Created:** [January 3, 2018, 2:26pm UTC](https://discuss.elastic.co/t/kibana-5-5-is-it-possible-to-have-distinct-date-ranges-for-each-visual-item-on-a-dashboard/113938 "2018-01-03T14:26:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![E\_Marshall](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/e_marshall/32/14191_2.png) [@E\_Marshall](https://discuss.elastic.co/u/E_Marshall)
#### Post date: [January 3, 2018, 2:26pm UTC](https://discuss.elastic.co/t/kibana-5-5-is-it-possible-to-have-distinct-date-ranges-for-each-visual-item-on-a-dashboard/113938/1 "2018-01-03T14:26:18Z")

</div>

I'm trying to build a Dashboard that will display logging events for this year and last year showing them side by side. However, I cannot figure out how to set each saved Visualize graph to a specific date range. It appears that whatever is selected in the top right corner of the Dashboard is an overarching date range which will always affect what is on the screen.

Is this how it works all the time or should I be able to have the Dashboard display two graphs that show this year and last year data?

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [January 3, 2018, 6:52pm UTC](https://discuss.elastic.co/t/kibana-5-5-is-it-possible-to-have-distinct-date-ranges-for-each-visual-item-on-a-dashboard/113938/2 "2018-01-03T18:52:32Z")

</div>

hi @E_Marshall,  
If I have it correct, I believe you are referring to this [https://github.com/elastic/kibana/issues/3578](https://github.com/elastic/kibana/issues/3578). It's a long outstanding issue in Kibana.

There is some possible alternatives, but with limitations.

* * *

1. If you have patience: You can use the `Date Range` aggregation, if you know the exact buckets you would like to see.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/1/51bbc3edf79f086a103a9b8c1d0f61c3fb199cd9.png)

* * *

1. If you don't care about date-stamp formatting: You could also create a new scripted field. Use as value the date-field from your document. It will come out as milliseconds. Then you can use the regular "Histogram" functionality.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/3/331754e32c9d8c0f07388267b9dd1d99ec428b73.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 31, 2018, 6:52pm UTC](https://discuss.elastic.co/t/kibana-5-5-is-it-possible-to-have-distinct-date-ranges-for-each-visual-item-on-a-dashboard/113938/3 "2018-01-31T18:52:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
