In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multiple if

Jaganmohan
8 - Asteroid

Hi - Need a help on multiple if statement.
Need a solution for below mentioned logic : pfa
if Price 2 column "Blank" and Reason code MP/TP then pull the prices from Action column else Price2.

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @Jaganmohan 

 

Try this:

if isempty([Price 2]) and [ReasonCode] in ('MP','TP') then [Action]
else [Price 2]
endif

 

Luke_C_0-1620741381011.png

 

mceleavey
17 - Castor
17 - Castor

Hi @Jaganmohan ,

 

if isempty([Price 2]) and ([ReasonCode]="MP" or [ReasonCode]="TP") then [Action] else [Price 2] endif

 

M.



Bulien

Labels
Top Solution Authors