# Group Dates in a Date Histogram

**URL:** <https://discuss.elastic.co/t/group-dates-in-a-date-histogram/208293>\
**Category:** Kibana\
**Created:** [November 18, 2019, 10:59am UTC](https://discuss.elastic.co/t/group-dates-in-a-date-histogram/208293 "2019-11-18T10:59:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditya\_Saxena](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aditya_saxena/32/57856_2.png) [@Aditya\_Saxena](https://discuss.elastic.co/u/Aditya_Saxena)\
**Post date:** [November 18, 2019, 10:59am UTC](https://discuss.elastic.co/t/group-dates-in-a-date-histogram/208293/1 "2019-11-18T10:59:15Z")

</div>

Hi there,  
I want to make a date histogram and show separate labels grouping range of dates together.  
Like - label dates from  
01-04-2019 to 01-07-2019 as "A"  
02-07-2019 to 02-09-2019 as "B" and so on...

the labels may come below the dates on the X-Axis.  
I searched around but couldn't find any setting that allows me to do this or something similar, can someone tell if its is possible to do this?

---

<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:** [November 18, 2019, 9:40pm UTC](https://discuss.elastic.co/t/group-dates-in-a-date-histogram/208293/2 "2019-11-18T21:40:37Z")

</div>

You can use the Date Range aggregation, but this depends on your version of Kibana as it's only available in more recent versions of Kibana.

---

<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:** [December 16, 2019, 9:42pm UTC](https://discuss.elastic.co/t/group-dates-in-a-date-histogram/208293/3 "2019-12-16T21:42:47Z")

</div>

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