# Records not showing when filter using scripted field in kibana control

**URL:** https://discuss.elastic.co/t/records-not-showing-when-filter-using-scripted-field-in-kibana-control/235699
**Category:** Kibana
**Created:** [June 4, 2020, 8:11am UTC](https://discuss.elastic.co/t/records-not-showing-when-filter-using-scripted-field-in-kibana-control/235699 "2020-06-04T08:11:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ankit\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankit_s/32/69148_2.png) [@Ankit\_S](https://discuss.elastic.co/u/Ankit_S)
#### Post date: [June 4, 2020, 8:11am UTC](https://discuss.elastic.co/t/records-not-showing-when-filter-using-scripted-field-in-kibana-control/235699/1 "2020-06-04T08:11:02Z")

</div>

Hello,

I have created a kibana control which is loading the records from \_source and also created scripted field. Now this main control is a parent to scripted field control.  
On selection main field control option it loads appropriate data in scripted field control.  
Now based on the scripted field selection I need to filter and show records in kibana saved search in kibana dashboard. But it is not showing any records in dashboard.

Any idea?

Thanks in advance

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [June 23, 2020, 6:59pm UTC](https://discuss.elastic.co/t/records-not-showing-when-filter-using-scripted-field-in-kibana-control/235699/2 "2020-06-23T18:59:31Z")

</div>

It sounds like your script or the filter based on the script is not matching any documents- but it's not possible to know based on the details in your original question. Does it work when you use the same filter in the Discover app?

---

<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 21, 2020, 6:59pm UTC](https://discuss.elastic.co/t/records-not-showing-when-filter-using-scripted-field-in-kibana-control/235699/3 "2020-07-21T18:59:31Z")

</div>

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