Free Trial

Alteryx Designer Desktop Discussions

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

Match a string value across multiple column and return the result in new field

Kishore_MJ
5 - Atom

I have a data set with multiple columns. I have to match a string with the columns and return that value in new field if available

 

Example

 

Fields1Fields2Fields3field 4
Platform 1Platform 2Platform 3 
 Platform 2Platform 3 
Platform 1Platform 2  
platform 1   

 

Expected

 

Field 4  I should get

1.  platform 1

2. PALFORM 2

3. BOTH

4.OTHERS

 

1 REPLY 1
apathetichell
19 - Altair

I think you missed part of your input here. I see data. I see output. I don't think I see a match matrix????

 

Recordid - transpose. join on record id of match vs match and value/value -> filter -> summarize tool group by recordid concat your values -> join by recordid back to your original data.

 

that's the usual way to do this.

Labels
Top Solution Authors