Alteryx Designer Desktop Discussions

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

How do I group data together from different rows based on a common field?

CherieACI
8 - Asteroid

Hi, 

In my dataset I list invoice numbers which could have multiple lines per invoice with different information on each line. What I need to do is turn the multiple lines into one line and combine the Rev GL Acct numbers and Revenue Start Dates together. 

For example, the first 4 columns are from the data and the last 2 columns are what I need:    

Sales Order NumInvoice NumRev GL AcctRevenue Start DateNeed: All Rev GL Accts ListedNeed: All Revenue Start Dates Listed 
Sales Order Number 1131000008540104/1/20204010, 4400, 44004/1/2020, 10/1/2019, 4/1/2020
Sales Order Number 11310000085440010/1/2019eliminate this line 
Sales Order Number 1131000008544004/1/2020eliminate this line 

 

How do I do this? 

Thank you!

Cherie

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @CherieACI 

 

You can use summarize tool to groupby and concat values. Refer the below config.

 

Workflow:

atcodedog05_0-1629741552820.png

 

Hope this helps : )

JosephSerpis
17 - Castor
17 - Castor

Hi @CherieACI you can do that using the summaries tool and concatenate string fields any numeric fields will need to be changed beforehand. You will also need to group by certain columns such as invoice numbers.

 

concant_23082021.JPG

CherieACI
8 - Asteroid

Thank you that worked! 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @CherieACI 

Cheers and have a nice day!

Labels