Alteryx designer Discussions

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

Comparing a column againt a list present in another column

Highlighted

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

Highlighted
7 - Meteor

 

Hello,

 

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

 

Thanks

Highlighted

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 ?

 

 

Highlighted
7 - Meteor

 

Hello harpreetdhillon,


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

Highlighted

Thanks bahouth12. This works!

Labels