Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Updating a detour without using a check box

MM_Chris
8 - Asteroid

Hi there,

 

I was wondering if there is any way to update a Detour tool without the use of a checkbox. I currently have a tree that is being used to make a selection and based on the "type" of selection it should redirect the data stream to it's appropriate container. I just want to know if there is a more efficient way because I feel like the checkbox is a little redundant after making the correct selection of the appropriate type. I feel like it gives a user the opportunity to fail even though it is still present.

 

Thank you.

5 REPLIES 5
MarqueeCrew
20 - Arcturus
20 - Arcturus
!Contains([#1],’true’)

That might work as a formula for the action
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
MM_Chris
8 - Asteroid

Doesn't seem to work. I tried tweaking it to fit what I'm trying to do. This is my formula:

 

IF Left([#1], 2) = "01" THEN 'false'
ELSEIF Left([#1], 2) = "02" THEN 'true'
ELSEIF Left([#1], 2) = "03" THEN 'true'
ELSE 'true'
ENDIF

MM_Chris
8 - Asteroid
Claje
14 - Magnetar

Hi,

Attached is an example that might help you.  I think all you're really missing is an = 'true' after your IF statement.  For the sake of simplicity I used a drop down example to show this.

Let me know if this helps!

MM_Chris
8 - Asteroid

Wow all I was missing was the = "true"

 

Thank you!

Labels