# Can Optionsets be filtered?

**URL:** <https://forum.bubble.io/t/can-optionsets-be-filtered/158857>\
**Category:** Need help\
**Created:** [July 7, 2021, 4:29am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857 "2021-07-07T04:29:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandon6](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brandon6/32/97011_2.png) [@brandon6](https://forum.bubble.io/u/brandon6)\
**Post date:** [July 7, 2021, 4:29am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/1 "2021-07-07T04:29:00Z")

</div>

Hey all,

Having trouble filtering option-set data. Not sure what the issue is. Might be helpful is a layout my current process.

1. Under my data type “Job” I have a field called “Job Types”. This field is an option set for the different types of jobs each job can have (Full-time, Part-time, Internship, etc).  

2. I’ve created a drop-down that is connected to this option-set (Job Type). The goal is to allow users to filter their search based on options in the drop-down.  
 ![Screen Shot 2021-07-06 at 11.14.27 PM](https://us1.discourse-cdn.com/bubble/original/3X/3/2/328b3441977c09908dcf5b1c60a6a5e783e5937a.png)

3. To allow the user to filter, I have created a workflow that filters search results based on the drop-down changes (when user selects different options). I then try to filter the job value based on the drop-downs value. However, it does not allow me the drop-down’s value.  

Based on the process above, it would seem that I am unable to filter option-sets for some reason.  
Has anyone ran into this problem before?

---

<div class="post-metadata">

**Author:** ![partha](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@partha](https://forum.bubble.io/u/partha)\
**Post date:** [July 7, 2021, 7:37am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/2 "2021-07-07T07:37:04Z")

</div>

Hi @brandon6 - I was able to replicate what you are trying to do with Option Sets.

I see 2 differences in filtering rules between our approaches. I was able to do that with a ‘Do a Search for Jobs’ (without **:filtered** ) and add the constraint as ‘Job Type = This Dropdown’s Value’ (instead of ‘This Dropdown’s value’s Display’).

- I think the reason for the error on your filter is that ‘job type’ is probably an object from Option Set and not a text.

Please try this and see if it works for you.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/b/bb097a3cc6126110b34c1795bde4e8d96dec2d82.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/d/fdccad4617ca2ef4ced870ccd07977c9f160382d.png)

---

<div class="post-metadata">

**Author:** ![brandon6](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brandon6/32/97011_2.png) [@brandon6](https://forum.bubble.io/u/brandon6)\
**Post date:** [July 8, 2021, 2:26am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/3 "2021-07-08T02:26:18Z")

</div>

Thanks so much for the response.

> [@partha](#):
>
> I think the reason for the error on your filter is that ‘job type’ is probably an object from Option Set and not a text.

Yes, it currently is an optionset. Does it need to be text for me to filter?  
I’m still unable to set the Job Type to the dropdowns value.

 ![Screen Shot 2021-07-07 at 9.25.43 PM](https://us1.discourse-cdn.com/bubble/original/3X/1/a/1ae656510818cb6769ae95007afdc4232a3bd965.png)

---

<div class="post-metadata">

**Author:** ![partha](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@partha](https://forum.bubble.io/u/partha)\
**Post date:** [July 8, 2021, 4:20am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/4 "2021-07-08T04:20:22Z")

</div>

No, you don’t need to change the filter to text. (Only when you are using This Dropdown’s Value’s Display, then it has to be text). But we can use the OptionSet directly, as I was able to do as well.

I can’t think of anything else that can go wrong. Are the drop-down value settings configured correctly - like dynamic choices, with source as Job Type (& not static choice)?

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/a/8a0886e48d5dd1c8d05cf8f50d6aa677527cc99e.png)

---

<div class="post-metadata">

**Author:** ![brandon6](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brandon6/32/97011_2.png) [@brandon6](https://forum.bubble.io/u/brandon6)\
**Post date:** [July 8, 2021, 7:34pm UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/5 "2021-07-08T19:34:44Z")

</div>

Hey partha,

I appreciate you working with me to figure this out.

Thankfully the issue is now solved. To be honest I’m not sure what fixed it, i played around with many different options (kinda disappointing). I believe it was the load state that was the issue. I think I had the custom state set to the wrong thing.

Anyways, thanks for your help!

---

<div class="post-metadata">

**Author:** ![partha](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@partha](https://forum.bubble.io/u/partha)\
**Post date:** [July 9, 2021, 6:44am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/6 "2021-07-09T06:44:54Z")

</div>

Yes, sometimes that happens - like getting resolved without knowing the actual root cause. However, I am glad, you were able to resolve that.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 15, 2021, 4:29am UTC](https://forum.bubble.io/t/can-optionsets-be-filtered/158857/7 "2021-09-15T04:29:11Z")

</div>

Closed on September 15, 2021, 4:29am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
