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.
SOLVED

How to join a column with multiple columns

Dilver_Shaik
7 - Meteor

Hi Team,

 

I have a below requirement. 

 

Table 1:

id1id1_commid2id2_commid3id3_commid4id4_comm
1001Comment1      
  1002Comment2    
1003Comment1  1003Comment3  
1004Comment11004Comment210004Comment31004Comment4

 

Table 2:

ididName
1001Test1
1002Test2
1003Test3
1004Test4
1005Test5

 

 

Expected Output

 

id1id1_commid2id2_commid3id3_commid4id4_commididName
1001Comment1      1001Test1
  1002Comment2    1002Test2
1003Comment1  1003Comment3  1003Test3
1004Comment11004Comment210004Comment31004Comment41004Test4

 

How can I join the data comparing with multiple columns as the data may or may not present in all those columns. Sometimes the data is present in all the 4 columns.

Sorry that I couldn't provide the data in an excel as I cant upload the file due to restrictions. Any help here would be appreciated. Thanks in advance.

 

 

Thanks & Regards

Dilver

 

3 REPLIES 3
Raj
16 - Nebula

PFA

ChrisTX
16 - Nebula
16 - Nebula

One option is attached.

 

How to join a column with multiple columns.png

 

Chris

Dilver_Shaik
7 - Meteor

Thanks Raj that works

Labels
Top Solution Authors