# Conditional visibility based on presence of object passing filter

**URL:** <https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436>\
**Category:** Feature Requests\
**Created:** [September 17, 2025, 2:37pm UTC](https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436 "2025-09-17T14:37:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrewJ](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrewj/32/84903_2.png) [@AndrewJ](https://community.glideapps.com/u/AndrewJ)\
**Post date:** [September 17, 2025, 2:37pm UTC](https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436/1 "2025-09-17T14:37:01Z")

</div>

It would be super helpful to allow me to only show a Collection IF the filter present found an object.

Essentially collection would be completely hidden if empty and shown if object is present.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 17, 2025, 2:49pm UTC](https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436/2 "2025-09-17T14:49:38Z")

</div>

So by default, it would just be a title and a filter dropdown?

---

<div class="post-metadata">

**Author:** ![AndrewJ](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrewj/32/84903_2.png) [@AndrewJ](https://community.glideapps.com/u/AndrewJ)\
**Post date:** [September 17, 2025, 2:55pm UTC](https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436/3 "2025-09-17T14:55:35Z")

</div>

I don’t want any of the collection to be visible, including search bar or drop down filter.

My use case is that a couple collections may be empty based off the client and their frequency of use of certain functions. In those situations, the entire collection being hidden is preferred, rather than being able to see the titles of columns or search bar/drop down filter, etc.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 17, 2025, 3:06pm UTC](https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436/4 "2025-09-17T15:06:55Z")

</div>

you can do that using visibility conditions, but you can’t do that using in-collection filtering on the component itself. You’d have to create the conditions in the data editor.

---

<div class="post-metadata">

**Author:** ![AndrewJ](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrewj/32/84903_2.png) [@AndrewJ](https://community.glideapps.com/u/AndrewJ)\
**Post date:** [September 17, 2025, 3:15pm UTC](https://community.glideapps.com/t/conditional-visibility-based-on-presence-of-object-passing-filter/84436/5 "2025-09-17T15:15:18Z")

</div>

Interesting. How would I go about doing that?
