# Need help on filtering some collection based on choice

**URL:** <https://community.glideapps.com/t/need-help-on-filtering-some-collection-based-on-choice/63957>\
**Category:** Ask for Help\
**Created:** [July 16, 2023, 2:52am UTC](https://community.glideapps.com/t/need-help-on-filtering-some-collection-based-on-choice/63957 "2023-07-16T02:52:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teejay\_Oyeniran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teejay_oyeniran/32/61251_2.png) [@Teejay\_Oyeniran](https://community.glideapps.com/u/Teejay_Oyeniran)\
**Post date:** [July 16, 2023, 2:52am UTC](https://community.glideapps.com/t/need-help-on-filtering-some-collection-based-on-choice/63957/1 "2023-07-16T02:52:17Z")

</div>

l want the set of items in the collection component to display based on the choice selected like if today is selected , it display the item that was created today likewise the week and month…l want it to replicate like the second image

 ![filter1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/6/c687eba2ef026eded5cb00b19fe22b9a30248c6c.png)  
 ![filter2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/7/17ffd9dc28a08502bfe6c4c70f7e16a0c1dbbe17.png)  
 ![filter3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/9/a9cd420dd4a6218ee68699d37f5d5aeececa4c91.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_Davies](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrew_davies/32/41838_2.png) [@Andrew\_Davies](https://community.glideapps.com/u/Andrew_Davies)\
**Post date:** [July 16, 2023, 7:04am UTC](https://community.glideapps.com/t/need-help-on-filtering-some-collection-based-on-choice/63957/2 "2023-07-16T07:04:43Z")

</div>

How is your data set up? What tables do you have?

Probably the best way us to have the choice component write a value to a user specific column in the users table to store the current selection - then filter against that. You’d likely need some additional computer columns for the logic but should be easy enough.

One of @Robert_Petitto excellent videos should help. For example

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/f/3f5ab3cfa375814cebccf252654799f30b5f837c.jpeg "Glide: Custom Filters WITHOUT a Users Table") ](https://www.youtube.com/watch?v=HUBe2cEUsq4)
