The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Make the Filter Tool Optional based on Drop Down Value

S-9
アステロイド

Hi

 

I would like to use the action tool to update a filter based on values from the dropdown.  

The dropdown would also have a manual value "All" which if selected, should eliminate the filter tool from filtering anything and pass all records. 

 

Here is an example: 

Filter by Employee only has two values: Y and N

Add a Manual Text in drop down saying "All"

If "All" is selected, pass records for employees and non employees. 

 

It does not seem to work when I select All. Any information would help!

Thanks

 

 

2件の返信2
TheOC
16 - Nebula
16 - Nebula

hi @S-9 !

Sorry for the delay in replying to you! This one had me stumped a little bit, but i've found a solution!

I'm sure theres a cleaner solution, but alas:

TheOC_0-1603834931838.png



within my macro:

TheOC_1-1603834948325.png



In a what feels like a hacky way - I am setting the value of each variable they can choose. Here Y and N are clear, but I add the OR conditional within the ALL selection. Wiithin my action:

TheOC_2-1603835001704.png



I have chosen to replace a specific string.


I have attached a packaged workflow with my macro, hope this helps!





Cheers,
TheOC
Connect with me:
LinkedIn Bulien
S-9
アステロイド

that worked great! THANKYOU!

ラベル
トップのソリューション投稿者