01 / 20

Forecasting in
Tableau

Learn to predict future trends using Tableau's built-in forecasting, and understand confidence intervals to gauge the reliability of your predictions.

Tableau Data Analytics

What Is Forecasting?

Forecasting is the process of using historical data to make predictions about future values. In Tableau, you can add a forecast to any time-series visualization with just a few clicks.

Tableau uses a technique called exponential smoothing to detect patterns in your data: trends (going up or down), seasonality (repeating cycles), and the overall level.

Anatomy of a Time Series

Time Value Trend Actual Data Trend Line 1 Season
Trend
The long-term direction: upward, downward, or flat
Seasonality
Repeating patterns at regular intervals (weekly, monthly, quarterly)
Level
The baseline average value of the series at any given point

Why Forecasting Matters

Businesses and analysts rely on forecasting to plan ahead. Whether you're projecting sales, inventory needs, or website traffic, a good forecast turns raw data into actionable insight.

Inventory Planning
Stock the right amount of product before a seasonal spike
Budget Allocation
Predict revenue to plan spending for the next quarter
Goal Setting
Set realistic targets based on data-driven projections

Exponential Smoothing Model

Tableau's forecast engine uses exponential smoothing (ETS). It assigns exponentially decreasing weights to older observations, so recent data points influence the forecast more than distant ones.

\( \alpha \) near 1
Reacts quickly to changes; may overfit to noise
\( \alpha \) near 0
Smooths heavily; slow to adapt to real shifts

Tableau automatically selects the best \( \alpha \) (and other parameters) by minimizing the forecast error on your historical data. You don't need to tune it manually.

Understanding Confidence Intervals

Time Historical Forecast Upper bound Forecast Lower bound

A confidence interval is a range around the forecast line. It tells you: "We are \( X\% \) confident the actual future value will fall within this band."

95% vs 99% Confidence

Tableau lets you choose your confidence level. Higher confidence means a wider band: you're more sure the value falls inside, but the range is less precise.

95% CI 99% CI
95% Confidence 99% Confidence
Band WidthNarrowerWider
PrecisionMore precise rangeLess precise range
Risk of Missing5% chance actual is outside1% chance actual is outside
Common UseGeneral business planningHigh-stakes decisions

Prediction vs Confidence Interval

These two terms are often confused. In Tableau's forecasting context, the distinction matters:

Prediction Interval
Range where a single future observation is likely to fall. Accounts for both model uncertainty and random variation. Always wider.
Confidence Interval
Range where the true average (mean) future value is likely to fall. Only accounts for estimation uncertainty. Always narrower.

How to Add a Forecast

1
Build a time-series chart. Drag a date field to Columns and a measure (e.g., Sales) to Rows.
2
Show the forecast. Go to Analysis → Forecast → Show Forecast (or right-click the chart).
3
Adjust settings. Click Forecast Options to set forecast length, confidence level (95% or 99%), and model type (automatic, additive, or multiplicative).
4
Describe the forecast. Right-click → Describe Forecast to see the model details, quality metrics, and confidence interval bounds.
5
Interpret the band. The shaded region is your prediction interval: wider band = more uncertainty further into the future.

Example 1: Monthly Sales

A retail store has 24 months of sales data. You add a forecast for the next 6 months at 95% confidence.

Month Sales ($K) 0 20 40 60 80 Historical (24 months) Forecast

Example 2: Describe Forecast

When you right-click and choose Describe Forecast, Tableau shows detailed statistics. Here's how to read the key fields:

1
Model Type: "Additive" or "Multiplicative." Additive means seasonal swings stay the same size; multiplicative means they grow with the level.
2
Quality Metrics: RMSE (Root Mean Square Error) and MAPE (Mean Absolute Percentage Error) measure how well the model fit historical data. Lower is better.
3
Smoothing Coefficients: Values of \( \alpha \) (level), \( \beta \) (trend), and \( \gamma \) (seasonality) that Tableau selected automatically.
4
Forecast Values: The predicted value for each future period, plus upper and lower bounds at your chosen confidence level.

Example 3: Wide Band Warning

A marketing team forecasts website visits 12 months out. The prediction band is extremely wide: the lower bound is near zero and the upper bound is triple the current average.

Band too wide: low confidence

Additive vs Multiplicative

Tableau can use two seasonal models. The choice affects how the forecast handles seasonal swings as the overall level changes.

Additive 30 30 Same swing size Multiplicative 15 40 Swing grows with level
Additive
Seasonal variation stays constant (e.g., always +/- $20K regardless of level). Best for stable-amplitude data.
Multiplicative
Seasonal variation scales proportionally (e.g., always +/- 15% of the current level). Best for growing data.

Requirements for a Good Forecast

1
Sufficient historical data. Tableau needs at least 2 full seasonal cycles (e.g., 2 years for annual seasonality). More data = better model.
2
Consistent time intervals. Your date field must have regular spacing (daily, weekly, monthly) with no large gaps.
3
Reasonable forecast horizon. Don't forecast further than half the length of your historical data. 24 months of data → forecast up to 12 months.
4
No structural breaks. If a pandemic or major event disrupted the pattern, the old data may mislead the model. Consider filtering to post-disruption data only.

Common Mistakes

✕ Ignoring the Band
Presenting only the forecast line without the confidence interval makes the prediction look more certain than it actually is.
✕ Forecasting Too Far
Extending the forecast well beyond your data range produces extremely wide, meaningless bands.
✕ Wrong Granularity
Forecasting daily data with only 3 months of history: the model can't detect yearly seasonality. Aggregate or get more data.
✕ Confusing CI Levels
Thinking 95% confidence means "95% chance the forecast is exactly right." It means the band, not the line, captures 95% of outcomes.
✕ Non-Date Fields
Trying to forecast a categorical axis (like Product Name). Tableau forecasting requires a continuous date dimension.

Forecasting Cheat Sheet

Concept What It Means In Tableau
Exponential Smoothing Weights recent data more heavily Automatic model selection
Prediction Interval Range for a single future value Shaded band on chart
95% Confidence 5% chance actual falls outside Default setting in Forecast Options
Additive Model Constant seasonal swings Selected via Forecast Options
Multiplicative Model Proportional seasonal swings Selected via Forecast Options
MAPE / RMSE Forecast quality (lower = better) Describe Forecast dialog

Question 1 of 5

What does the shaded band around a Tableau forecast line represent?

Question 2 of 5

If you increase the confidence level from 95% to 99%, what happens to the prediction band?

Question 3 of 5

A retailer has 18 months of monthly sales data and wants to forecast 24 months ahead. What is the main problem?

Question 4 of 5

In Tableau's exponential smoothing model, a higher \( \alpha \) value means:

Question 5 of 5

A company's sales data shows seasonal peaks that grow proportionally larger as overall revenue increases. Which model type should Tableau use?