Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Duplicates on one row

$
0
0

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


Viewing all articles
Browse latest Browse all 4999

Trending Articles