Alteryx Designer Desktop Discussions

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

How to identify if a field contains a word from an attached list

chickenlicken
8 - Asteroid

I'm trying to work out a good way of building a workflow that looks at a list and identifies whether a field contains a value from that list.

 

My attached workflow works ok for short terms but in reality there might be 10+ words in the Name field and I don't want to have to configure lots of select fields.  Any ideas?

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @chickenlicken 

 

You can find and replace to check contains like below

 

atcodedog05_0-1629451836174.png

 

Hope this helps : )

chickenlicken
8 - Asteroid

Just thinking a transpose tool might work better than the select and union.. but still doesn't feel quite optimal!

Emil_Kos
17 - Castor
17 - Castor

Hi @chickenlicken,


I would suggest using find and replace tool:

 

Emil_Kos_0-1629451920533.png

With this configuration, it will match only words and not fields. If you would like to match the entire field you would need to click the entire field option:

 

Emil_Kos_1-1629451962351.png

 

messi007
15 - Aurora
15 - Aurora

@chickenlicken,

 

Find and replace 🙂 

 

messi007_0-1629451975554.png

Attached the workflow,

Regards

chickenlicken
8 - Asteroid

Ahhhhhhh of course!! Thank you!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @chickenlicken 

Cheers and have a nice day!

Labels