# Canvas dropdown filter result no data after filtering

**URL:** <https://discuss.elastic.co/t/canvas-dropdown-filter-result-no-data-after-filtering/218537>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [February 10, 2020, 8:20am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-result-no-data-after-filtering/218537 "2020-02-10T08:20:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timothy\_Julius](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timothy_julius/32/45776_2.png) [@Timothy\_Julius](https://discuss.elastic.co/u/Timothy_Julius)\
**Post date:** [February 10, 2020, 8:20am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-result-no-data-after-filtering/218537/1 "2020-02-10T08:20:47Z")

</div>

Hello, i know this is an outdated problem, but after i research all the topic about dropdown canvas and implement it, the result always zero data i don't know why.

So, right now i want to developed a simple visualization using bar chart and drop down filter

this is the code for bar chart :

filters group="app" ungrouped=true  
| essql  
query="SELECT sum(count\_total) as count\_total,app\_name,payment\_step FROM "funnel\_canvas\_index\_dummy" GROUP BY app\_name,payment\_step"  
| pointseries x="payment\_step" y="count\_total"  
| plot defaultStyle={seriesStyle bars=0.75} legend="sw"  
| render

this is the code for filter :

essql query="SELECT app\_name FROM "funnel\_canvas\_index\_dummy"  
group by app\_name"  
| dropdownControl valueColumn="app\_name" filterColumn="app\_name" filterGroup="app"  
| render

is the way that i do it wrong or something ?

thanks before

---

<div class="post-metadata">

**Author:** ![tims](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tims/32/46750_2.png) [@tims](https://discuss.elastic.co/u/tims)\
**Post date:** [February 10, 2020, 3:49pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-result-no-data-after-filtering/218537/2 "2020-02-10T15:49:50Z")

</div>

Hi @Timothy_Julius, if the bar chart is empty when you select a value from the dropdown, sometimes this can be due to how the data is indexed into elasticsearch. See if you have a "app\_name.keyword" field, you can read about keyword here: [https://www.elastic.co/guide/en/elasticsearch/reference/master/keyword.html](https://www.elastic.co/guide/en/elasticsearch/reference/master/keyword.html)

Keywords enable filtering by an exact match which may help in this case.

If that doesn't work, are there any other filters in the "app" group?

---

<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:** [March 9, 2020, 3:49pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-result-no-data-after-filtering/218537/3 "2020-03-09T15:49:51Z")

</div>

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