Alteryx Designer Desktop Discussions

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

Merge Rows and Sum Field Valies

RicardoVales
5 - Atom

Hi,

I have a table where I have dates on the rows, and countries on Columns.
Like this:

 Country 1Country 2
01/01/201814
02/01/201823
03/01/201832
04/01/201841
01/01/201878
03/01/20181010

 

And I want to merge the rows that have the same value, and sum the value on the several columns.This would be the desired output.

 

 Country 1Country 2
01/01/2018812
02/01/201823
03/01/20181312
04/01/201841

 

What is the best way to achieve this?

Thanks for your help!

2 REPLIES 2
RolandSchubert
16 - Nebula
16 - Nebula

Hi @RicardoVales ,

 

I think, the Summarize tool would do the job. I've attached a sample workflow. Hope this is helpful.

 

Best,

 

Roland

RicardoVales
5 - Atom

Thank you Roland.
I feel really stupid now. 
Simple solutions and I was trying to complicate things.

Labels