# Add filter to controls on drilldown

**URL:** <https://discuss.elastic.co/t/add-filter-to-controls-on-drilldown/277630>\
**Category:** Kibana\
**Created:** [July 2, 2021, 9:18am UTC](https://discuss.elastic.co/t/add-filter-to-controls-on-drilldown/277630 "2021-07-02T09:18:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SvenSpudat](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@SvenSpudat](https://discuss.elastic.co/u/SvenSpudat)\
**Post date:** [July 2, 2021, 9:18am UTC](https://discuss.elastic.co/t/add-filter-to-controls-on-drilldown/277630/1 "2021-07-02T09:18:24Z")

</div>

Hi,  
I have one question. In a dashboard I have a drilldown on a pie chart to a dashboard that contains an options control element. The pie chart has buckets for field A (plant) and field B (topic).  
The controls object has the same fields configured, with field b as a child of field a.

When I now click on a slice in the pie chart and chose the drilldown option the dashboard opens and the filters are applied correctly, but they are not selected in the controls object.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/6/164b3e1558bf07d0f70497b8df2f0c6c6b9f4155.png)

Also when I select additional plants in the dropdown they are not added to the same filter, but as a separate one, screwing up the filter completely:

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

I first have to remove the filters completely and then re-add them from the dropdowns.

What I would like is, that the filter that is applied to the dashboard, is reflected in the controls object when using the drilldown.

Is this possible somehow?

Thanks  
Sven

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [July 2, 2021, 12:52pm UTC](https://discuss.elastic.co/t/add-filter-to-controls-on-drilldown/277630/2 "2021-07-02T12:52:15Z")

</div>

Hi @SvenSpudat

welcome to the Kibana community.

I think what you are looking for is part of a known issue: [https://github.com/elastic/kibana/issues/16123](https://github.com/elastic/kibana/issues/16123)

Maybe you could add your use case to the issue.

---

<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 30, 2021, 12:52pm UTC](https://discuss.elastic.co/t/add-filter-to-controls-on-drilldown/277630/3 "2021-07-30T12:52:58Z")

</div>

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