# Multi-selection filters

**URL:** <https://discuss.elastic.co/t/multi-selection-filters/86761>\
**Category:** Kibana\
**Created:** [May 23, 2017, 5:51am UTC](https://discuss.elastic.co/t/multi-selection-filters/86761 "2017-05-23T05:51:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arieltk](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@arieltk](https://discuss.elastic.co/u/arieltk)\
**Post date:** [May 23, 2017, 5:51am UTC](https://discuss.elastic.co/t/multi-selection-filters/86761/1 "2017-05-23T05:51:28Z")

</div>

Hello all,  
I have a plugin requirement to allow multi selection field filtering (such as OR on the filter bar filters, similar to how it would be done when filtering on excel ![](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bdb22906adb3be10e4da1367162ac8cc08233a67.png)). I understand that this is not supported.  
Currently I am using the [https://github.com/AnnaGerber/kibana\_dropdown](https://github.com/AnnaGerber/kibana_dropdown) plugin which adds a filter to the filter bar from a value selection on a combo. The approach that I am thinking of is to extend it, allowing multi-selection and instead of adding filters, update the query in a single filter in the the filter bar programatically by adding a [Bool query](https://www.elastic.co/guide/en/elasticsearch/reference/5.4//query-dsl-bool-query.html) which will simulate an OR filtering.  
My question is:

- Is there a better approach? Is there a known plugin that can do the work?

- How do I update the filter query? I am taking a look at queryFilter.updateFilter method but it is not so clear. Can someone give me directions/examples?

Thanks

---

<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:** [June 20, 2017, 5:51am UTC](https://discuss.elastic.co/t/multi-selection-filters/86761/2 "2017-06-20T05:51:46Z")

</div>

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