Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Search for dublicates and combine a different field and add a new field with the result

patrikfrid
8 - Asteroid

I need to check for dublicates in SKU (as you can see in picture 001 so are there same sku) and when it find dublicate sku so shall Grössen be added in a new field on the first dublicate sku and delete all other, so there will be only one sku with all the grössen in the new field.

Any suggestions ?

(picture 001 is showning the orginal file and picture 002 is showning what I want as result)

3 REPLIES 3
DiganP
Alteryx Alumni (Retired)

@patrikfrid  You can use the unique tool in the preparation tab to get the result you want. In the unique tool, check off the SKU number and that will do the trick. 

Digan
Alteryx
TonyA
Alteryx Alumni (Retired)

Easiest way to do this is with the summarize tool. Group by all the columns except size and concatenate size with a comma separator. I'll build a simple example, but it will take a few minutes.

 

EDIT: Here's the workflow. The last column has the list of sizes as you showed in your example.There are two flows. One groups by all columns except size and concatenates the sizes. The other groups only by SKU and takes the first value for all the other columns except size and concatenates sizes.

patrikfrid
8 - Asteroid

@TonyA thanks, that was easy when you know what tools you shall use and it did the trick, thanks alot

Labels
Top Solution Authors