ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

Create accumulated sales column

brunod
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 ANTWORTEN 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
Meteor

xactly what I needed! Thanks CharlieS!

brunod
Meteor

Beschriftungen
Top-Lösungs-Autoren