community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Avoiding duplicates in a one to many join

Highlighted
Meteor

Hello,

 

I am trying to create a one to many join where a column from one source of data should be joined with three columns from the other source of data. A regular join tool with three keys is not working. See below for some sample data. 

 

Role 1 Role 2Role 3
Mom WifeDaughter
DadHusband Son

 

 

Role
Mom
Dad
Wife
Husband
Daughter 
Son

 

The current keys were: (Role, Role 1) (Role, Role 2) and (Role, Role 3)

 

Any guidance on what I'm doing wrong would be appreciated. Thank you!

 

Alteryx Certified Partner

How about pivoting the data before joining it (i.e. Transpose tool)?

 

Transpose-Join.PNG

Alteryx Certified Partner

Hi @Nageen 

 

Is this what you want?

 

End.PNG

 

Cheers,

Alteryx Certified Partner

Sorry, didn't see your solution @Garrett 

 

Cheers,

Labels