# Check if iterator is empty after filtering

**URL:** <https://community.appfarm.io/t/check-if-iterator-is-empty-after-filtering/319>\
**Category:** Ask the community\
**Tags:** ui\
**Created:** [March 3, 2023, 10:32am UTC](https://community.appfarm.io/t/check-if-iterator-is-empty-after-filtering/319 "2023-03-03T10:32:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fridtjof](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/fridtjof/32/262_2.png) [@Fridtjof](https://community.appfarm.io/u/Fridtjof)\
**Post date:** [March 3, 2023, 10:32am UTC](https://community.appfarm.io/t/check-if-iterator-is-empty-after-filtering/319/1 "2023-03-03T10:32:42Z")

</div>

Hi. Is there a good way of checking the amount of results from the filtering on an iterator?  
I want a container below the iterator list to be visible, only if the iterator shows no items.

Its a bit tricky to make the reverse filtering

Best Regards,  
Fridtjof Mollatt

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [March 3, 2023, 11:25am UTC](https://community.appfarm.io/t/check-if-iterator-is-empty-after-filtering/319/2 "2023-03-03T11:25:11Z")

</div>

Hi! This sounds like it could be a case for Client Filters? There’s a video in the link below as well demonstrating it 😉

> **[Data sources](https://docs.appfarm.io/reference/apps/data/data-sources#client-filters)**

---

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [March 3, 2023, 11:26am UTC](https://community.appfarm.io/t/check-if-iterator-is-empty-after-filtering/319/3 "2023-03-03T11:26:14Z")

</div>

Hey @Fridtjof! If you use Client Filters, you get access to the built-in `Is Empty` and `Is Not Empty` properties, which make this most straightforward. Otherwise, you can still achieve this with the use of the function editor for evaluating the visibility condition.
