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

Merging certain columns in duplicate rows.

DanMBrx
7 - Meteor

Hi, 

 

I am wondering if a workflow would be possible to solve this. 

I want to merge a certain column when a duplicate occurs. I have attached an image explaining what I mean, the top two rows are examples and the lowest row is the outcome I’d like. Obviously on a larger scale than this. 

thanks.

 

Dan

5 REPLIES 5
BS_THE_ANALYST
15 - Aurora
15 - Aurora

Hi @DanMBrx! See the attached before and after picture. 

BS_THE_ANALYST_0-1674120867215.png

BS_THE_ANALYST_1-1674120875429.png

You can achieve this with the summarize tool! 

BS_THE_ANALYST_2-1674120897605.png

 

All the best,
BS

LinkedIN

Bulien
ShankerV
17 - Castor

Hi @DanMBrx 

 

Please use summarize tool to achieve the solution.

 

 

Many thanks

Shanker V

DataNath
17 - Castor
17 - Castor

Hey @DanMBrx, concatenating unique values is a good discussion and there's some ideas suggested for this on the forums. For now, here's a dynamic way of handling this that could also scale to N number of fields if you scale out rather than down:

 

DataNath_0-1674121088429.png

ShankerV
17 - Castor

Hi @DanMBrx 

 

Please find the use case to explain it.

It will work on huge dataset also.

 

ShankerV_0-1674121095393.png

 

ShankerV_1-1674121148217.png

 

Please select Group By on the Column where you feel duplicates and use the Concatenate on the column to be merged.

 

The default will be separator , where it can be replaced with anyother as per would interest.

 

Many thanks

Shanker V

 

DanMBrx
7 - Meteor

Brilliant thank you guys, that was quick!

Labels
Top Solution Authors