# Filtering ESQL Panel in a Kibana Dashboard

**URL:** https://discuss.elastic.co/t/filtering-esql-panel-in-a-kibana-dashboard/377805
**Category:** Kibana
**Tags:** dashboard, esql
**Created:** [May 5, 2025, 9:29am UTC](https://discuss.elastic.co/t/filtering-esql-panel-in-a-kibana-dashboard/377805 "2025-05-05T09:29:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![etp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/etp/32/117415_2.png) [@etp](https://discuss.elastic.co/u/etp)
#### Post date: [May 5, 2025, 9:29am UTC](https://discuss.elastic.co/t/filtering-esql-panel-in-a-kibana-dashboard/377805/1 "2025-05-05T09:29:28Z")

</div>

I'm creating a dashboard which uses the usual KQL for most metric panels. I have a esql based Table also in the dashboard. When filtering on the dashboard level, I see that the esql based Table is empty. Is there any special way in which filtering needs to be implemented when using esql within a dashboard?

Version: 8.17.5

---

<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 5, 2025, 10:32am UTC](https://discuss.elastic.co/t/filtering-esql-panel-in-a-kibana-dashboard/377805/2 "2025-05-05T10:32:00Z")

</div>

The filters are appended to the ES|QL query and given the fields exist in your source, it should work as any other visualization.

I added a ES|QL table to the Flights dataset and checked the filters from controls or search bar also affect the table as expected.

![Peek 2025-05-05 12-27](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e387d678d081c3b7f618febe95a92476c54cb2e3.gif)

Maybe you can share more details about the query you are doing? There is the `Inspect` tool that will show you the exact query you are doing and the results retrieved, even allowing you to copy it to test on the Kibana Console.

This a screenshot of how the inspecting tool looks for my example where both the ES|QL query and the filter for the `Carrier` field are combined.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e4d6697d3fca1be223df48e5ca74d8cf8b617d5.png)
