Table Calculations: Running Total, Percent of Total, Rank & Moving Average0%
Creating Dynamic Parameters for What-If Scenarios & Top N Filters

Table Calculations: Running Total, Percent of Total, Rank & Moving Average

Beginner12 min read•Updated: Jul 11, 2026
Study Materials

Table Calculations: Running Total, Percent of Total, Rank & Moving Average

Reading Time: 8 Mins | Level: Beginner to Advanced


1. What are Table Calculations?

Table Calculations are secondary calculations performed on the already aggregated results in the visual cache. They evaluate based on the layout of the table without querying the underlying database!


2. Common Quick Table Calculations

Right-click any Measure on a shelf $ o$ Quick Table Calculation:

  1. 1
    Running Total: Cumulative sum over time.
  2. 2
    Percent of Total: Proportional percentage contributing to 100%.
  3. 3
    Rank: Assigns ordinal rank ($1, 2, 3...$) to categories.
  4. 4
    Moving Average: Smooths out trailing fluctuations over $N$ periods.
  5. 5
    Year-over-Year Growth: Computes percentage difference from prior period.

3. Addressing & Partitioning (Compute Using)

  • Compute Using $ o$ Table (across): Evaluates horizontally across columns.
  • Compute Using $ o$ Table (down): Evaluates vertically down rows.

Interactive Quiz

Multiple Choice Questions

Question 1
When are Table Calculations evaluated in Tableau's Order of Operations?
Question 2
What visual indicator appears on a pill on a shelf when a Table Calculation is applied to it?
Question 3
What does 'Compute Using $ o$ Table (down)' instruct Tableau to do when calculating 'Percent of Total'?
Question 4
How do you create a 3-month trailing moving average in Tableau?
Question 5
What function calculates the ordinal rank of a category within a table calculation?

Next Lesson

Creating Dynamic Parameters for What-If Scenarios & Top N Filters

Continue learning with hands-on practice, examples, and exercises in the upcoming topic.

Practice Quiz

Test your understanding of this lesson with 5 questions. Each question has one correct answer.

PrevNext