# How to show different filters of the same Collection when seeing details of a Parent Collection?

**URL:** <https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479>\
**Category:** Ask for Help\
**Created:** [May 18, 2024, 9:15pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479 "2024-05-18T21:15:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 18, 2024, 9:15pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/1 "2024-05-18T21:15:43Z")

</div>

I am trying to filter a collection list that resides on the details screen once the user selects one of the options. On that next screen, I am having trouble to filter the list based on squad color. The “Crew Stations” collection has 4 squads, I can set the filter to show only one of the squads but the problem is that the same filter collection is showing for the other color squads as well. In other words, when a user selects say Red Squad, only those crew stations will appear in the collection list. Below I selected Blue Squad but the Red Squad is showing because I set the filter for Red over on the Red Squad screen.

 ![CleanShot 2024-05-18 at 17.09.31](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/7/97ec309a183936ec9ebb3523c628b6a00d82b57e.png)  
 ![CleanShot 2024-05-18 at 17.09.45](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/3/934a02232819341d97b2b190e13326b4448cca20.png)

---

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 18, 2024, 9:30pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/2 "2024-05-18T21:30:36Z")

</div>

I have this, and I can live with it (using a choice component) but it would be more elegant if the list was already filtered when the user clicks into the screen, any ideas?

 ![CleanShot 2024-05-18 at 17.29.16](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/c/cc098b386ff5a0d24f5017cd2901a78cbd1b0526.png)

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [May 18, 2024, 9:32pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/3 "2024-05-18T21:32:32Z")

</div>

On the parent screen what if you add a set column value to your action and target the same same column the choice component is writing to

---

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 18, 2024, 9:34pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/4 "2024-05-18T21:34:25Z")

</div>

Interesting, let me try that…

---

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 18, 2024, 9:44pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/5 "2024-05-18T21:44:25Z")

</div>

I don’t see how it’s going to work. I can only set a column value to one of the 4 options, and the result will be Collection is filtered to the set value I chose if I understand your approach correctly.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [May 18, 2024, 11:33pm UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/6 "2024-05-18T23:33:40Z")

</div>

In essence, on your items screen, you need to have a single value column taken from the USC (user specific column) where you write the selection. Next, you just need to filter your squad stations collection.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 19, 2024, 12:18am UTC](https://community.glideapps.com/t/how-to-show-different-filters-of-the-same-collection-when-seeing-details-of-a-parent-collection/73479/7 "2024-05-19T00:18:24Z")

</div>

Study one of the default glide apps when you create a new app using glide tables. For example, the default Categories/Things app.

You are thinking each screen is separate when in reality, it is all the same screen, but linked to a different row of data based on the color squad (category) you clicked on. Detail screen layouts are attached to their source table, so you only have to design a screen once and be done.

You don’t need to set a value when clicking an item or use a filter. What you need is a relation. Create a relation in your Squad table linking it to the Stations table. Then when you click on a Squad to view it’s detail screen, set your station collection on that screen to use the relation as it’s source. That’s it. Make your squad screens data driven instead of trying to design squad screen independently.

Imagine if you had 1000 squads. Would you rather design the same screen 1000 times or design it once and let the data determine what should be shown on that screen.
