Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

if else replacement

sriniprad08
11 - Bolide

Hi All,

 

I need help. I have simple query please find below

IF [PARTYADNO] = "44434" THEN ([PARTYADNO]="434334"
AND [PARTYPARTYADID] = "zghh,ke wea") ELSE [PARTYADNO] ENDIF

 

So formula should replace 44434 with 434334  and also replace PARTYPARTYADID field with zghh,ke wea. 

sriniprad08_0-1615280859449.png

Thanks

SR

 

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@sriniprad08 

I think we can only update one column at a time.

CaptureB5.PNG

Emil_Kos
17 - Castor
17 - Castor

Hi @sriniprad08,

I have created a workflow for you. I think you actually need two formula to make it work:

 

Emil_Kos_0-1615281402732.png

The output:

 

Emil_Kos_1-1615281442908.png

 

 

sriniprad08
11 - Bolide

Thank you @Qiu very helpful

sriniprad08
11 - Bolide

Thank you @Emil_Kos  very useful. 

Labels
Top Solution Authors