Calculations in Tableau
Maarten Van den Broeck
Content Developer at DataCamp
Study of repetitive patterns in data
Year-over-year comparison:
Seasonality of cinema visits, year-over-year:
Year-to-date (YTD):
Custom Fiscal Year

Year over Year Growth :
Calculation behind YoY growth:

Year over Year Growth in Tableau:
CAGR - mean annual growth rate of a measure over a specified period of time longer than one year (1)
CAGR as a mathematical calculation:

CAGR in Tableau:

Smoothing fluctuations with moving average

Used for the long-term trends ("The Big Picture")
E.g., moving AVG(Sales) over the last 180 days
Smoothing fluctuations with moving average

Visualizing complex calculations:
Example of a time-series dashboard

Calculations in Tableau