In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

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