In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Running totals for definite time frame

Shrabasti
5 - Atom

Hi All,

 

I want to do a conditional running total column where every row will sum up the last 3 rows including itself.

Please see below example. Request for urgent help.

 

BUDateValuesRunning Totals of last 3 months
ABCJan'2100
ABCFeb'2111
ABCMar'2112
ABCApril'2113
ABCMay'2102
XYZJan'2111
XYZFeb'2134
XYZMar'2103
XYZApril'2111
XYZMay'2101
OPDJan'2144
OPDFeb'2104
OPDMar'2137
OPDApril'2114
OPDMay'2104

 

 

1 REPLY 1
TheOC
16 - Nebula
16 - Nebula

hey @Shrabasti 

I believe i have produced this for you:

TheOC_0-1639874756278.png

 

TheOC_1-1639874760062.png



Technically can be done all in one tool (the multi-row formula), however it ends up re-ordering the results - so i applied a record id before and after, and then dropped that in a select tool:
 

TheOC_2-1639875234005.png



Also - FYI - if you have any Designer based questions, i would recommend popping them into the 'Designer Discussions' part of the community (https://community.alteryx.com/t5/Alteryx-Designer-Discussions/bd-p/designer-discussions) rather than General. General gets much less traction, and it will take longer to get your question answered.

Hope this helps
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
Labels
Top Solution Authors