We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Create a Running Table

YLYONG
9 - Comet

Hi Alteryx Community,

 

Wanting to get your help on creating a running table:

 

Thankyou!

 

Input Table:

 

FRUITSSum_FRESH STOCKSum_WeeksAVG WEEKLY FRESH STOCK
APPLES                                           123                                                              8                                                           15
BANANAS                                     10,924                                                              8                                                     1,366
ORANGE                                     61,068                                                              8                                                     7,633
STRAWBERRY                               1,462,986                                                              8                                                 182,873

 

 

Output Table:

 

FRUITSWEEKRUNNING TOTAL_FRESH STOCK
APPLES1                                                            15
APPLES2                                                            31
APPLES3                                                            46
APPLES4                                                            62
APPLES5                                                            77
APPLES6                                                            92
APPLES7                                                          108
APPLES8                                                          123
BANANAS1                                                      1,366
BANANAS2                                                      2,731
BANANAS3                                                      4,097
BANANAS4                                                      5,462
BANANAS5                                                      6,828
BANANAS6                                                      8,193
BANANAS7                                                      9,559
BANANAS8                                                    10,924
ORANGE  
ORANGE  
ORANGE  
2 REPLIES 2
kathleenmonks
Alteryx Alumni (Retired)

Hi @YLYONG,

 

Please see my attached screenshot and workflow. First generate additional rows for each week, then use a formula tool to calculate the running total. Let me know if this helps!

Running_total_img.PNG

YLYONG
9 - Comet

@kathleenmonks 

 

Thank you, this is a very neat solution! 

I attempted (below) and get the intended output, and will replace them with your simpler solution.

 

YLYONG_0-1660799208722.png

 

Labels
Top Solution Authors