# Drilldown date range bug

**URL:** <https://discuss.elastic.co/t/drilldown-date-range-bug/294976>\
**Category:** Kibana\
**Created:** [January 20, 2022, 5:44pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976 "2022-01-20T17:44:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 20, 2022, 5:44pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/1 "2022-01-20T17:44:08Z")

</div>

Hi,

when you have stacked bar chart which is split by timestamp (lets say before 2019 and 2019-2022) and you create drilldown, the 2019-2022 part of bar redirects you to dashboard with correct timestamp. HOWEVER, when you click on "before 2019" part of stacked bar, it redirects you to dashboard with switched timestamp (2022-2019) and gives you errors!

Any ideas whats going on here? Its bug even in 7.16.

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

---

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [January 20, 2022, 6:42pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/2 "2022-01-20T18:42:10Z")

</div>

start date should always be less/older than end date.

End date should be latest compared to start date

---

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 20, 2022, 6:44pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/3 "2022-01-20T18:44:39Z")

</div>

Yes ofcourse I know that, but this is what Kibana does by itself when you use drilldown 😃 So its a bug  
Clicking on green "before" split bar and "Go to Dashboard"

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/2/223c1ca3e6e58e33d03c46cabbd0ed0940050e3f.png)  
gives you this bug.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d2e7654f90ae440a550544827abbec66cdaaa4fb.png)

---

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [January 20, 2022, 6:46pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/4 "2022-01-20T18:46:16Z")

</div>

Then you change your time in your URL drilldown.  
Change URL link if its a URL drilldown or check in dashboard drilldown

---

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 20, 2022, 6:47pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/5 "2022-01-20T18:47:51Z")

</div>

Its dashboard drill down, not URL so I cant change URL.

---

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [January 20, 2022, 6:55pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/6 "2022-01-20T18:55:52Z")

</div>

Try re-doing it differently or else its a bug

---

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 20, 2022, 6:57pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/7 "2022-01-20T18:57:05Z")

</div>

I tried it on two different Kibana versions with two different indices and timestamps. Unfortunetally, still doing the same..

---

<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:** [February 17, 2022, 6:57pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976/8 "2022-02-17T18:57:37Z")

</div>

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