Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

conditional string replace

Fran2
6 - Meteoroid

Hello,

can someone give a quick and painless way how to replace parts of the string  based on a condition? I am attaching workflow with things I have tried. 

 

Thanks in advance!

1 REPLY 1
binuacs
21 - Polaris

@Fran2 updated your formula like below

 

IF [Field1] = "asd" THEN "1" ELSEIF [Field1] = "asd f" then "2" else [Field1] ENDIF

 

Labels
Top Solution Authors