Learn more about the Alteryx Maveryx Universe recently announced at Inspire 2023!

Alteryx Designer Desktop Discussions

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

How to check single value with multiple values ?

Sshasnk
8 - Asteroid

How should I segregate the below data into two, where to check if city code is present in the code column

 

City CodeCode
NYNY,CA,LA,LN
INNY,CA,LA,LN
CKNY,CA,LA,LN
LNNY,CA,LA,LN

 

Below is the output:

Match:

 

City codeCode
NYNY,CA,LA,LN
LNNY,CA,LA,LN

 

Not a match:

City CodeCode
INNY,CA,LA,LN
CKNY,CA,LA,LN
2 REPLIES 2
JosephSerpis
16 - Nebula
16 - Nebula

Hi @Sshasnk I mocked up a workflow that produces the output you describe  in a couple of ways. Let me know what you think?

grazitti_sapna
17 - Castor

Hi @Sshasnk,

 

Here is the solution to your problem:

 

contains.png

 

I hope it helps.

Sapna Gupta
Labels