# How to apply a filter to a control visualization

**URL:** https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968
**Category:** Kibana
**Tags:** visualisation
**Created:** [March 30, 2023, 5:41pm UTC](https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968 "2023-03-30T17:41:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![richfish](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@richfish](https://discuss.elastic.co/u/richfish)
#### Post date: [March 30, 2023, 5:41pm UTC](https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968/1 "2023-03-30T17:41:15Z")

</div>

In Kibana 7.10.1, I have a dashboard with multiple visualizations, each with its own filter based on the same property on the same index. I added a dropdown control that will allow the user to filter by one of those values. I wanted to populate the dropdown with a superset of the values that the other visualizations contain. Is there any way to apply a filter to that control so that I can only show some of the values for that property? If I try to add a filter, the filter does not even let me select that property, as if it is looking at a different index.

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [March 31, 2023, 8:21am UTC](https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968/2 "2023-03-31T08:21:51Z")

</div>

I don't think that this is possible but @devon.thomson maybe you can give more information here.

---

<div class="post-metadata">

### Author: ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)
#### Post date: [March 31, 2023, 2:30pm UTC](https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968/3 "2023-03-31T14:30:13Z")

</div>

Yes @Stratoula_Kalafateli is correct that this is not possible at the moment. We have an [ehnancement](https://github.com/elastic/kibana/issues/140112) request filled out to add this functionality to the new controls.

Alternatively, you can work around this issue by creating a filtered [alias](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html) in Elasticsearch and creating your controls using that alias.

I hope this helps!

---

<div class="post-metadata">

### Author: ![richfish](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@richfish](https://discuss.elastic.co/u/richfish)
#### Post date: [March 31, 2023, 2:52pm UTC](https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968/4 "2023-03-31T14:52:45Z")

</div>

Thanks for the reply @devon.thomson, will pursue that option

---

<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: [April 28, 2023, 2:53pm UTC](https://discuss.elastic.co/t/how-to-apply-a-filter-to-a-control-visualization/328968/5 "2023-04-28T14:53:12Z")

</div>

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