Alteryx Designer Desktop Discussions

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

Duplicates on one row

Pav
7 - Meteor

Hi, 

 

I've a number of "duplicates" that I'm trying to join onto one row. For instance this is my dataset

IDtitlenametypecolumn5
1oneqqtextempty
1oneqqintempty
1twoqqintempty
1twoqqtext

not

 

And this is what I'm trying to achieve. 

IDtitlenametypecolumn5
1one, twoqqtext, intempty, not

 

Basically look through ID column and when duplicate ID is, look through all remaining columns, compare and if any difference copy everything into first row and delete remaining rows.

 

I tried to use Multi row formula tool, but with no success. My issue is, that I don't know which columns have different values (original dataset has over 100 columns) so it has to be generic.

ID column has a lot of unique values that only have one entry, so obviously I want to leave those are they are. It's only whenever I've duplicate ID. 

 

Pav

2 REPLIES 2
JohnJPS
15 - Aurora

Here you go:

 

Transpose => Unique => Cross Tab.

 

Please see attached workflow.

 

Pav
7 - Meteor

Amazing, works perfectly.

 

Thank you John!

Labels