# Bucket Aggregation - Using Filters + Date Histo

**URL:** <https://discuss.elastic.co/t/bucket-aggregation-using-filters-date-histo/297350>\
**Category:** Kibana\
**Created:** [February 16, 2022, 10:10am UTC](https://discuss.elastic.co/t/bucket-aggregation-using-filters-date-histo/297350 "2022-02-16T10:10:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivabharat](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@shivabharat](https://discuss.elastic.co/u/shivabharat)\
**Post date:** [February 16, 2022, 10:10am UTC](https://discuss.elastic.co/t/bucket-aggregation-using-filters-date-histo/297350/1 "2022-02-16T10:10:04Z")

</div>

Hi All,

I have a kibana visualization in which I use a bucket aggregation with filters. I would like to have data histogram set to this (E.g. retrieve max of a value for a Month based on filters)

I would like to know if this is possible natively. if this is a limitation in Kibana can someone guide if there is any workaround.

Thanks

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [February 22, 2022, 12:13pm UTC](https://discuss.elastic.co/t/bucket-aggregation-using-filters-date-histo/297350/2 "2022-02-22T12:13:42Z")

</div>

Hi, it is possible natively if I understand the problem correctly, for example for Lens:

 ![Screenshot 2022-02-22 at 13.12.46](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5f170271b8049f2755ca60688058639bfa9c49ae.jpeg)

 ![Screenshot 2022-02-22 at 13.12.54](https://us1.discourse-cdn.com/elastic/original/3X/d/3/d38616eeb05d66a35642ee7a854ce914087e6626.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:** [March 22, 2022, 12:14pm UTC](https://discuss.elastic.co/t/bucket-aggregation-using-filters-date-histo/297350/3 "2022-03-22T12:14:05Z")

</div>

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