# How to setup segmented controls to view specific contents from single table

**URL:** <https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161>\
**Category:** Ask for Help\
**Created:** [October 17, 2024, 9:53pm UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161 "2024-10-17T21:53:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Huzefa\_Mithaiwala](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/huzefa_mithaiwala/32/73322_2.png) [@Huzefa\_Mithaiwala](https://community.glideapps.com/u/Huzefa_Mithaiwala)\
**Post date:** [October 17, 2024, 9:53pm UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/1 "2024-10-17T21:53:02Z")

</div>

Hi, I want to have segmented buttons as shown in screenshot attached, where I can filter based on column values. Here I have a glossary from two project and want to filter from the top. How to add filtering on choice component?

Please help!!

 ![Screenshot 2024-10-18 at 12.49.46 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/98b9a468024da0f503b72a4fb72e36880993f7e6.jpeg)

---

<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:** [October 17, 2024, 9:59pm UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/2 "2024-10-17T21:59:23Z")

</div>

You have a few options, but you can either control the be visibility of multiple collections, or set a filter on the collection to based on the screen value of the choice.

---

<div class="post-metadata">

**Author:** ![Huzefa\_Mithaiwala](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/huzefa_mithaiwala/32/73322_2.png) [@Huzefa\_Mithaiwala](https://community.glideapps.com/u/Huzefa_Mithaiwala)\
**Post date:** [October 24, 2024, 10:31pm UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/3 "2024-10-24T22:31:22Z")

</div>

Hi Jeff, I still didnt able to apply the filtering with the segmented tabs as shown in my screenshot.

The collection below is from a single table and I want to apply filtering based on one column ‘Project’

Please help!

---

<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:** [October 25, 2024, 12:45am UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/4 "2024-10-25T00:45:10Z")

</div>

Write the choice component to a column in your user profiles table, and filter your collection based on that value.

---

<div class="post-metadata">

**Author:** ![Huzefa\_Mithaiwala](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/huzefa_mithaiwala/32/73322_2.png) [@Huzefa\_Mithaiwala](https://community.glideapps.com/u/Huzefa_Mithaiwala)\
**Post date:** [October 28, 2024, 6:41am UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/5 "2024-10-28T06:41:53Z")

</div>

@ThinhDinh I am still not able to achieve the above, can u help me Step by step?

---

<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:** [October 28, 2024, 11:28am UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/6 "2024-10-28T11:28:41Z")

</div>

It would be helpful if you showed us what you have tried and what exactly is not working.

---

<div class="post-metadata">

**Author:** ![Huzefa\_Mithaiwala](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/huzefa_mithaiwala/32/73322_2.png) [@Huzefa\_Mithaiwala](https://community.glideapps.com/u/Huzefa_Mithaiwala)\
**Post date:** [October 29, 2024, 8:12am UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/7 "2024-10-29T08:12:29Z")

</div>

@Jeff_Hager Attaching your screenshots of the glossary which is taken from a single table and sorted by ‘Projects’ column.

 ![Screenshot 2024-10-29 at 11.04.30 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/6/5619d5bd221b45c039892ffe3a4faa9adef4e30c.jpeg)

So I want to have choice filters on the top of the glossary to easily filter the list as shown below

 ![Screenshot 2024-10-29 at 10.56.24 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/a/2a557f19d20b98993a3340f0fa6fc7bccff58c2c.jpeg)

How can I achieve this? there was suggestion to link the choice as per ‘users’ table but it doesn’t make sense, I just want to the choice component to filter out as project selected.

---

<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:** [October 29, 2024, 8:46am UTC](https://community.glideapps.com/t/how-to-setup-segmented-controls-to-view-specific-contents-from-single-table/77161/8 "2024-10-29T08:46:44Z")

</div>

Have you filtered your collection section with: Project is User Profile \> Project?
