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.

Alteryx Contains Function Question

AYXEnthusiast
5 - Atom

I am attempting to return a portion of one text column that contains the entire value of another text column. Please see the attached file for more detail. Not entirely sure why I'm unable to get the contains function to work. 

1 REPLY 1
Jotigautam
10 - Fireball

This can be achieved in much easier way by using find and replace tool.

If you want to use contains function then first you need to join both tables using Append fields and then apply formula

(IF Contains([Account - 2013], [Account - 2014]) THEN [Account - 2014]
elseif IsNull([Account - 2013]) then Null()
ELSE 'New' ENDIF).

However find and and replace is much easier way. Attaching workflow for find and replace method.

 

Jotigautam_0-1630386199418.png

 

Labels
Top Solution Authors