Create Running Totals

Learn how to create running total calculations in charts and tables using the Calculation Editor in SAP Analytics Cloud.
Beginner
August 4, 2025

Introduction

In SAP Analytics Cloud chart, you can create running total calculations using the Calculation Editor. This feature lets you create running total calculations which can be used for other tables or charts in a story.

Note

  • This feature is only available in the optimized story experience.

Set Up Running Total Calculations:

The dimensions that you use in the running calculations become required dimensions. If the relevant dimensions are not added in the chart, then you must add them. If you rearrange or add dimensions, the results of the running calculations will change as well.

Procedure:

1

Select a chart and in the Builder panel, choose Add Account -> Calculations -> Add Calculation.

2

In the Calculation Editor under Type, select Running Total.

3

Enter a name and description (optional) for the running total.

Configure the Table Using the Builder Panel

4

Under Operation, select a running total operation. There are 5 options to choose from:

  1. SUM: Sum of Account values across all leaf members of the selected dimension.
  2. COUNT: The number of leaf members of the selected dimensions with values for a specific account, including null values. Empty values for this account are not counted. Only NULL cells are counted whereas blank cells are rejected from the count.
  3. MIN: The smallest value across the selected dimensions.
  4. MAX: The largest value across the selected dimensions.
  5. AVERAGE: The average of the account’s values across the selected dimensions, including null values. Only NULL cells are counted whereas blank cells are rejected from the count.

5

In the Account section, select an account from the list.

6

In the Running Total Dimensions section, select one or more dimensions to apply the running total calculation to. Click on OK.

Note

  • In this case, for the Date and Product dimensions, values for each Product at the smallest time granularity in the model will be calculated.

  • You can click on the Add a Dimension to add additional dimensions.

Learning Path

Enroll Today!

We don't currently have a course on this subject but you better believe we're working on one. Check out what else we have available by pressing here!

Fallback Image

Next

Next Article

Previous

Previous Article

See What's New

Featured Articles

Our most recent and proudest works, ready to make your life a little bit easier.

SAP Analytics Cloud

SAC Key Features & Capabilities

Let’s learn about the key features and capabilities of SAP Analytics Cloud.

Datasphere

Creating a Space

Spaces are the areas where all data is retrieved, prepared and modeled. This article will walk you through creating a space in Datasphere.

SAP Analytics Cloud

Adding a Table (Datasphere Dataset)

Learn how to insert a table based on an existing SAP Datasphere dataset.

Curated For You

Article Recommendations

Here are some articles handpicked by our experts to help you continue your learning journey.

Contact Us

Reach out if you have any questions or to see how we can create a custom training solution for your organization!

Contact Form Pop-Up - General Use

Custom Training Solution

Fill out and submit the form below, and we’ll reach out to you to discuss how we can work toward achieving your training goals in a way that works best for you and your team.

Contact Form - Custom Training