MIP Logo

What is Table Calculation in Tableau?

This post was originally published on The Data School blog between 2018 and July 2025, before our program was renamed to MIP’s Analytics Career Accelerator. References throughout this article to “The Data School” or “DS” all refer to what is now MIP’s Analytics Career Accelerator. The program, its people, and its commitment to launching outstanding analytics careers remain the same – just under a new name.

If you are having trouble viewing this article, please report it here

Table Calculation in Tableau allows you to calculate the data that has been aggregated within your visualizations.

Table calculations can be applied to the entire table or specific measures. One common use for table calculations is calculating running totals or moving averages.

 

It is important to note that table calculations are affected by layout, direction, scope, and filters, such as the measure filter shown in the picture above.

Table calculations offer a convenient way to perform more advanced calculations without having to create a new calculation field.

For example, we can use a table calculation to find the running total of sales for each region using the Sample-Superstore dataset.

 

Step 1

Right-click & hold the Order Date on the Columns shelf and select Month Continuous.

Drag the Sales to the Rows shelf.

Drag the Region to the colour in the Marks.

 

 

Step 2

Right-click on the Sales field in the Rows (or click on the arrow), and select “Quick Table Calculation” and then “Running Total”.

 

This will show the running total of sales for each region. We can also customize the table calculation by right-clicking on the Sales field in the Rows shelf and selecting “Edit Table Calculation”. This will open a dialogue box where you can specify the calculation type, direction, and other options.

 

Share this post