Start Free Trial

Alteryx Designer Desktop Discussions

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

Summing the data of a column based on unique combination of 2 other columns in same file

Nikhil86
7 - Meteor

Hi Folks, 

 

I am struggling to get the below scenario sorted: 

 

If combination of ID and Department are unique, then I would like to sum the quantity for those rows. 

 

My input and my expected output looks like below, 

 

Input_Output.PNG

 

Any help would be really appreciated. I have already tried to use Summarize and Unique tool, Can anyone advise if other tool (Filter) can be used? I have used group by on ID and Department in Summarize tool and Sum on Quantity however its summing up the Quantity on different Department which I do not want. 

 

Rgds,

Nik 

4 REPLIES 4
Raj_Singh1
9 - Comet

Please see attached, let me know if its not the right, i can assist

 

Capture 5.JPG

Qiu
21 - Polaris
21 - Polaris

@Nikhil86 
Summarize Tool is designed for this.

1110-Nikhil86.PNG

Qiu
21 - Polaris
21 - Polaris

@Nikhil86 

Thank you for the mark! First accepted today!😁

Raj_Singh1
9 - Comet

Thanks Nikhil

Labels
Top Solution Authors