# How to apply aggregation filter instead of query filter from dashboard in Kibana 4?

**URL:** <https://discuss.elastic.co/t/how-to-apply-aggregation-filter-instead-of-query-filter-from-dashboard-in-kibana-4/34745>\
**Category:** Kibana\
**Created:** [November 16, 2015, 11:30pm UTC](https://discuss.elastic.co/t/how-to-apply-aggregation-filter-instead-of-query-filter-from-dashboard-in-kibana-4/34745 "2015-11-16T23:30:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankitc](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@ankitc](https://discuss.elastic.co/u/ankitc)\
**Post date:** [November 16, 2015, 11:30pm UTC](https://discuss.elastic.co/t/how-to-apply-aggregation-filter-instead-of-query-filter-from-dashboard-in-kibana-4/34745/1 "2015-11-16T23:30:46Z")

</div>

I would like to know how to apply aggregation filter from dashboard instead of query filter. I have nested documents which doesn't get filter using query filter, so I need to apply aggregation filter instead of default query filter. Any idea or hack which can help me in solving this problem?

Thanks in advance,  
Ankit

---

<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:** [July 6, 2017, 2:08pm UTC](https://discuss.elastic.co/t/how-to-apply-aggregation-filter-instead-of-query-filter-from-dashboard-in-kibana-4/34745/2 "2017-07-06T14:08:57Z")

</div>


