---
schema_version: "1"
id: f193ab66dcae383a97c4e2ac4b464ffdfd49bc23affe50f7591da2709ecf0fb9
title: Quick Table Calculations
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/public/desktop/calculations_tablecalculations_quick.md
canonical_url: https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_tablecalculations_quick.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 08a62bea37c91237332e0e6bbf510b83eb453f6babed7e995a97e6c311d60faf
description: Apply quick table calculations to a visualization using common default settings.
---
[Skip to main content](#main-content)

# Quick Table Calculations

Quick table calculations allow you to quickly apply a common table calculation to your visualisation using the most typical settings for that calculation type. This article demonstrates how to apply a quick table calculation to a visualisation using an example.

The following quick table calculations are available in Tableau for you to use:

- Running total
- Difference
- Percent difference
- Percent of total
- Rank
- Percentile
- Moving average
- YTD total
- Compound growth rate
- Year-over-year growth
- YTD growth

For more information about some of these, see [Table Calculation Types](https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_tablecalculations_definebasic_runningtotal.htm).

## How does a quick table calculation differ from a table calculation?

Quick table calculations are table calculations that you can apply quickly to your visualisation in Tableau. They are applied to the visualisation with the most typical settings for the calculation type you choose so that you can continue on with your analysis. With traditional table calculations, you can apply the same settings, but you must apply them manually.

## Apply a quick table calculation to the visualisation

Follow along with the steps below to learn how to apply a quick table calculation to a visualisation.

### Set up the visualisation

1. Open Tableau Desktop and connect to the **Sample-Superstore** data source, which comes with Tableau, and navigate to a new worksheet.
2. From the **Data** pane, drag Order Date to the Columns shelf.
3. Drag State to the Rows shelf.
4. Drag Sales to Text on the Marks Card.
5. Drag Profit to Colour on the Marks Card.
6. On the Marks card, click the Mark Type drop-down and select Square.
    
    ![Marks card dropdown.](/tableau/next/en-gb/public/desktop/en-gb/Img/quicktablecalc1.png)

The visualisation updates to look like this:

![A heatmap with sales data by state and year.](/tableau/next/en-gb/public/desktop/en-gb/Img/quicktablecalc2.png)

### Apply the quick table calculation

1. On the Marks card, right-click SUM(Profit) and select Quick Table Calculation > Moving Average.
    
    **Note**: You can only perform quick table calculations on measures in the view.
    
    A delta symbol appears on the field to indicate that a quick table calculation is being applied to the field. The colours in the visualisation update to show the moving average of profit across the years.

![Quick table calculation.](/tableau/next/en-gb/public/desktop/en-gb/Img/quicktablecalc3.gif)

### (Optional) Customise the quick table calculation

1. On the Marks card, right-click Sum(Profit) and select Edit Table Calculation.
2. In the dialog box that opens, you can configure the following options:

- The calculation type
- How to aggregate the values
- How to compute the calculation (how to address and partition the calculation)

For more information about these options, see [Table Calculation Types](https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_tablecalculations_definebasic_runningtotal.htm) and [The basics: addressing and partitioning](https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_tablecalculations.htm#Basics)

The visualisation updates as you make changes to the calculation. Highlighting and numbering are used to demonstrate how the calculation is being computed. For example, in the following image, the calculation is being computed across the table, for each State.

![Table calculation dialog box.](/tableau/next/en-gb/public/desktop/en-gb/Img/quicktablecalc4.png)

If this setting is changed, the visualisation and highlighting update to indicate the change.

![Table calculation dialog box.](/tableau/next/en-gb/public/desktop/en-gb/Img/quicktablecalc5.png)

## See Also

[Understanding Calculations: Table calculations](https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_calculatedfields_understand_types.htm#Table)

[Transform Values with Table Calculations](https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_tablecalculations.htm)

[Customise Table Calculations](https://help.tableau.com/v0.0/public/desktop/en-gb/calculations_tablecalculations_custom.htm)