Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Combine rows based on criteria

peyton-louden
7 - Meteor

Hi all, 

 

I have  output dataset that needs to be blended to combine some of the rows based on a criteria that must be met. The screenshot below shows how we are receiving the data: 

peytonlouden_1-1662647765151.png

 

Basically, if two rows have the Key, the SKU number needs to be combined into one record. For example, row 3 and 4 have the same Key so the SKU would be "91100, 91200." Below is a screenshot of the results:

peytonlouden_2-1662647867314.png

 

New to alteryx and don't have a lot of experience combining rows like this so any help would be much appreciated. 

Thanks!

 

2 REPLIES 2
trsali
Alteryx Alumni (Retired)

Hi @peyton-louden Use the Summarize tool and group by everything other than SKU Number, then Concatenate SKU Number.

Be sure to change the data type of SKU Number to a string

trsali_0-1662655615897.png

 

Emmanuel_G
13 - Pulsar

Hi @peyton-louden ,

 

Find attached the way of doing this.

 

Emmanuel_G_0-1662656059415.png

 

Labels
Top Solution Authors