# How to Apply cross filtering only to plots that can be applied and avoid the remaining

**URL:** <https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606>\
**Category:** Kibana\
**Created:** [October 14, 2022, 8:13am UTC](https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606 "2022-10-14T08:13:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eleven\_e](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eleven_e/32/106651_2.png) [@eleven\_e](https://discuss.elastic.co/u/eleven_e)\
**Post date:** [October 14, 2022, 8:13am UTC](https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606/1 "2022-10-14T08:13:19Z")

</div>

I'm working on a dashboard and I have 2 indices with different structure and when i apply the cross filtering by clicking on a particular bar in a bar graph the data gets filtered and some plots turn to **'NO RESULTS FOUND'** , how should I avoid it, like the filter must affect only the possible plots and avoid the remaining.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 14, 2022, 3:11pm UTC](https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606/2 "2022-10-14T15:11:37Z")

</div>

This advanced setting sounds like it's what you need:

 ![Screenshot 2022-10-14 at 17.11.17](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d1639002a057f77345d019c89debd54f516f09c9.png)

---

<div class="post-metadata">

**Author:** ![eleven\_e](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eleven_e/32/106651_2.png) [@eleven\_e](https://discuss.elastic.co/u/eleven_e)\
**Post date:** [October 17, 2022, 4:36am UTC](https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606/4 "2022-10-17T04:36:42Z")

</div>

Hi @flash1293 I tried this out but this is not working while I use the controls or filter by clicking on the bar graph or pie chart in the dashboard.  
Again it shows me no results found.

Thanks.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 18, 2022, 1:52pm UTC](https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606/5 "2022-10-18T13:52:17Z")

</div>

Make sure to use different data views for the different panels

---

<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:** [November 15, 2022, 1:52pm UTC](https://discuss.elastic.co/t/how-to-apply-cross-filtering-only-to-plots-that-can-be-applied-and-avoid-the-remaining/316606/6 "2022-11-15T13:52:53Z")

</div>

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