Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities 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