We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
fireworks
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
17 - Castor
17 - Castor

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
Top Solution Authors