# Chip group to filter on Enum (status)

**URL:** <https://community.appfarm.io/t/chip-group-to-filter-on-enum-status/527>\
**Category:** Ask the community\
**Tags:** ui\
**Created:** [June 12, 2023, 1:40pm UTC](https://community.appfarm.io/t/chip-group-to-filter-on-enum-status/527 "2023-06-12T13:40:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Preben](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/preben/32/545_2.png) [@Preben](https://community.appfarm.io/u/Preben)\
**Post date:** [June 12, 2023, 1:40pm UTC](https://community.appfarm.io/t/chip-group-to-filter-on-enum-status/527/1 "2023-06-12T13:40:16Z")

</div>

Hi,

I want to use a chip group to filter on an Enum set (status).

I want it to only show unique statuses in datasource, e.g. projects. As of now I can find a sutible datasource/setup to accomodate this.

How can I solve this? I want to avoid looping through all projects and list out statuses in a seperate datasource

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/4611e9f7a5d67f517e1792433e02fb9fc7f11375.png)

---

<div class="post-metadata">

**Author:** ![Anders](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/anders/32/265_2.png) [@Anders](https://community.appfarm.io/u/Anders)\
**Post date:** [June 13, 2023, 10:47am UTC](https://community.appfarm.io/t/chip-group-to-filter-on-enum-status/527/2 "2023-06-13T10:47:04Z")

</div>

Hi, to achieve this you can use an Enum datasource and connect it to the Chip Group and then use the filtering on the UI-component so that you just show the statuses that exist in the projects.

 ![Skjermbilde 2023-06-13 kl. 12.45.45](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/e1de121b0ba27cb21628835831900ff398551531.png)

---

<div class="post-metadata">

**Author:** ![Preben](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/preben/32/545_2.png) [@Preben](https://community.appfarm.io/u/Preben)\
**Post date:** [June 13, 2023, 12:05pm UTC](https://community.appfarm.io/t/chip-group-to-filter-on-enum-status/527/3 "2023-06-13T12:05:34Z")

</div>

Great, I didn’t see that there was a dropdown for datasource, THanks : )

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/007d5192375dbd12b59f058b87b371b8dddd67d6.png)
