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.

Summing and grouping

Sifiso
8 - Asteroid

hi all 

 

I have this data below, I want to group by [month] and [ID] and sum up the [cost]. I have about 500 records (about 20 data fields) and if I try to do it, I get duplicates, when I apply the unique tool my data data is not accurate. please help.

IDMonthCategorySectorcostcost typeAreacustomer name
7474JanuaryAFood-1738951HarareIron Ore
5655JulyBChemical51545,33DurbanBZD
7474JanuaryAFood53142,081HarareIron Ore
36577JuneCSecurity69207,95 PretoriaTash
12202AprilBEngineering160782,53MusinaMDC Consulting
12202AprilBEngineering-1607833MusinaMDC Consulting
99199NovemberATravel-37572864SowetoZimbali
7474MarchCFood37572861VendaIron Ore

 

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

Based on the description, it sounds like a Summarize tool! Group by Month and ID, and Sum on Cost.

 

Can you send us your expected output from this input?

Raj
16 - Nebula

Find the solution attached.

if any thing else please share expected output

 

Labels
Top Solution Authors