Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Alteryx

You're reading from  Learning Alteryx

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781788392655
Pages 228 pages
Edition 1st Edition
Languages
Toc

Running total


A running total is a great way of obtaining a cumulative sum per record. The Running Total tool can be used to create a running total, and like the Summarize tool, there are Group By options available to include if you want to group the data by the available fields. Running Totals are useful for getting a total for a group; in this case, a running total of DataValueAlt by YearEnd and Topic. The cumulative sum will be continuing to aggregate until a new YearEnd and Topic appears in the data set. Once this occurs, the running total will start the cumulative sum again. Let's look at how to apply running totals using the same workflow from the previous section.

Running Total Example #1: Find the running total for DataValueAlt by YearEnd and Topic.

Step 1: Select the Running Total tool from the Transform tool palette and drag it onto the canvas. Connect the Auto Field tool to the Running Total tool.

Step 2: Select the following fields under the Group By (Optional) selections: YearEnd...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime