The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RÉSOLU

Comparing a column againt a list present in another column

HI,

 

I want to check if the value in one of my column matches againt the list of values present in another column of same data set an dpolupate result baed on comparion.

 The list is delimiter seperated.

 

Column1validList
0"0","1"
5"0","1"

 

output:

Column1validListresult
0"0","1"TRUE
5"0","1"FALSE

 

Thanks

4 RÉPONSES 4
Bahouth12
Météore

 

Hello,

 

I attached a solution to the question. I hope it answers your question.

 

Thanks

Thanks Bahouth12. The solution works. But do we have any other approach where we can accomplish this irrespective of the number of valid values.

 

LIke in my solution we had 2 valid values (0,1). what if the incoming data has 30 ?

 

 

Bahouth12
Météore

 

Hello harpreetdhillon,


I changed the solution a little bit to work well with any incoming data such as 30. Please see the attachment.
Thanks

Thanks bahouth12. This works!

Étiquettes
Auteurs des meilleures solutions