Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Disable Container based on a condition

Mario36
8 - Asteroid

Hi,

 

I am looking to disable my container based on a condition.

From my dropdown, if I choose 'Fruit' then my output should contain the data for fruit, else of the vegetable.

4 REPLIES 4
T_Willins
14 - Magnetar
14 - Magnetar

 @Mario36,

 

Are you committed to a dropdown list or could you use radio buttons?  Also, is your condition always binary or could the list include multiple selections?  Asking as the design will be different based on your needs beyond your sample workflow?

Mario36
8 - Asteroid

Nope, the dropdown is just an example, but I would be using a control parameter 

T_Willins
14 - Magnetar
14 - Magnetar

 Hi @Mario36,

 

Radio buttons are the easiest way to disable containers where there are just two options.  The one trick is to connect the radio button to the opposite container that you want to disable (Fruit selection button connected to the Vegetable container).  Let me know if you have questions.

 

Disable Container.png

Mario36
8 - Asteroid

This partially helps but in my case, I would be building this as a macro, so I would need either a Macro Input / A Control Parameter to connect my data and I would be combining the outputs from the containers to a Macro Output.

Labels
Top Solution Authors