Alteryx Designer Desktop Discussions

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

Create accumulated sales column

brunod
7 - Meteor

Hi Community!

 

I need to calculate a cumulative sales considering 3 variables (in this example): period (year-month), country and product.

 

Example.... picture 1 shows sales history during 2019 01 to 2019 03, to 2 countries and 3 products.

 

picture 1

foto1.JPG

 

and here's how cumulative sales should be calculated

 

picture 2

foto2.JPG

 

Please, could someone help me with this?

 

Thanks!

4 REPLIES 4
CharlieS
17 - Castor
17 - Castor

Use the Running Total tool.

https://help.alteryx.com/current/RunningTotal.htm

 

The tool settings in this case should be Group By: Country, Product, then Create a Running Total for the Sales field.

JosephSerpis
17 - Castor
17 - Castor

Hi @brunod you can do this using the running tool or the multi-row formula tool.

brunod
7 - Meteor

xactly what I needed! Thanks CharlieS!

brunod
7 - Meteor

Labels