# How to filter the visibility by group in collection?

**URL:** https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540
**Category:** Ask for Help
**Created:** [February 5, 2023, 11:48pm UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540 "2023-02-05T23:48:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Suwat\_Visethvoraveth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/suwat_visethvoraveth/32/53891_2.png) [@Suwat\_Visethvoraveth](https://community.glideapps.com/u/Suwat_Visethvoraveth)
#### Post date: [February 5, 2023, 11:48pm UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/1 "2023-02-05T23:48:22Z")

</div>

I am newbie. Please suggest me how to show or hide some group the same collection. Thanks!

---

<div class="post-metadata">

### Author: ![Suwat\_Visethvoraveth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/suwat_visethvoraveth/32/53891_2.png) [@Suwat\_Visethvoraveth](https://community.glideapps.com/u/Suwat_Visethvoraveth)
#### Post date: [February 6, 2023, 12:34am UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/3 "2023-02-06T00:34:31Z")

</div>

In the collection, there is only one “group by” to group by from one column selected. I want to add some more “Group by” and hide some of them. Please suggest me how to apply the other way to get the same result because there is no +add more group by at this moment. Thanks!

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 6, 2023, 12:57am UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/4 "2023-02-06T00:57:23Z")

</div>

Can you provide some sample data and explain what exactly do you want it to show on the front end?

---

<div class="post-metadata">

### Author: ![Suwat\_Visethvoraveth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/suwat_visethvoraveth/32/53891_2.png) [@Suwat\_Visethvoraveth](https://community.glideapps.com/u/Suwat_Visethvoraveth)
#### Post date: [February 6, 2023, 9:51am UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/5 "2023-02-06T09:51:38Z")

</div>

Thanks for your response.  
Supposing there are 100 users, 20 play tennis, 20 play basketball, 20 play golf, 20 play football and 20 play cricket. When the sign-in user play golf, I would like them to see only playing golf users. The collection “groups by” shows all groups of tennis, basketball, golf, football and cricket. I would like to hide tennis, basketball, football and cricket when the sign-in user play golf. How can I do that ? Please advice.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 6, 2023, 10:12am UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/6 "2023-02-06T10:12:39Z")

</div>

For this you will want to use a filter.  
Assume that you have a column in your User Profile that indicates which sport each user plays, then your filter would be something like: “Sport is User Profile → Sport”  
That filter would only show those Users that have a sport that matches the sport of the signed in user.

> **[Glide • Filter](https://www.glideapps.com/docs/reference/ux/filter)**
>
> Filter your lists based on criteria

---

<div class="post-metadata">

### Author: ![Suwat\_Visethvoraveth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/suwat_visethvoraveth/32/53891_2.png) [@Suwat\_Visethvoraveth](https://community.glideapps.com/u/Suwat_Visethvoraveth)
#### Post date: [February 6, 2023, 12:10pm UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/7 "2023-02-06T12:10:12Z")

</div>

Thanks for your response.  
When I filter if the football player is check, the others can not see the collection at all. Only the football player can see the collection. I want to filter at the group by, but there is not +add filter button at the group by. May be Pro Package can do that?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 6, 2023, 12:12pm UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/8 "2023-02-06T12:12:24Z")

</div>

It sounds like you haven’t set it up correctly.  
Can you show me a screen shot of your filter condition?

---

<div class="post-metadata">

### Author: ![Suwat\_Visethvoraveth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/suwat_visethvoraveth/32/53891_2.png) [@Suwat\_Visethvoraveth](https://community.glideapps.com/u/Suwat_Visethvoraveth)
#### Post date: [February 6, 2023, 1:05pm UTC](https://community.glideapps.com/t/how-to-filter-the-visibility-by-group-in-collection/57540/9 "2023-02-06T13:05:49Z")

</div>

Yes, I have to learn more. I will try your suggestion again. Thanks! 😀 😀
