# Is it possible to make a filter mandatory to choose in controls visualization?

**URL:** https://discuss.elastic.co/t/is-it-possible-to-make-a-filter-mandatory-to-choose-in-controls-visualization/231527
**Category:** Kibana
**Created:** [May 7, 2020, 11:49am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-a-filter-mandatory-to-choose-in-controls-visualization/231527 "2020-05-07T11:49:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jaishree\_Pal](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jaishree\_Pal](https://discuss.elastic.co/u/Jaishree_Pal)
#### Post date: [May 7, 2020, 11:49am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-a-filter-mandatory-to-choose-in-controls-visualization/231527/1 "2020-05-07T11:49:00Z")

</div>

I was trying to add some controls to my visualizations but I faced an issue that results can also be loaded whenever the user has not chosen any field. In my case, if that happens, my dashboard will face errors because of loading a lot of data and trying to create visualizations out of them. So, is it possible to make any field mandatory to choose in controls visualization?

For more clearance, I don't want users to try to create visualizations when the filters for 'DUT Type' and 'Version' are empty. (Refer the snapshot)

 ![Controls issue 4](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0eb4ab9d4d43ae6aaea0cd1640e53883fdfb9f53.png)

---

<div class="post-metadata">

### Author: ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)
#### Post date: [May 8, 2020, 3:56pm UTC](https://discuss.elastic.co/t/is-it-possible-to-make-a-filter-mandatory-to-choose-in-controls-visualization/231527/2 "2020-05-08T15:56:29Z")

</div>

That does not look like something you can do right now with Input Controls. I've checked the [current list of enhancements requests](https://github.com/elastic/kibana/issues?q=is%3Aissue+controls+label%3A%22Feature%3AInput+Control%22+sort%3Aupdated-desc+label%3Aenhancement+is%3Aopen) for this feature and I don't see anything like your request, please feel free to create one with your requirements. In any case, mind that this is an experimental feature.

The only workaround I can think about is to save your dashboard with the control filters applied, so the dashboards starts filtered and then add some instructions in a Markdown panel to inform about the need to keep them populated.

---

<div class="post-metadata">

### Author: ![Jaishree\_Pal](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jaishree\_Pal](https://discuss.elastic.co/u/Jaishree_Pal)
#### Post date: [May 11, 2020, 11:30am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-a-filter-mandatory-to-choose-in-controls-visualization/231527/3 "2020-05-11T11:30:38Z")

</div>

Okay, thanks @jsanz for the suggestion. I'll create a request for the feature. For now, markdown with instructions will work for me.

---

<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 8, 2020, 11:30am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-a-filter-mandatory-to-choose-in-controls-visualization/231527/4 "2020-06-08T11:30:38Z")

</div>

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