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.
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
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.
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.
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
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% Confidence | 99% Confidence | |
|---|---|---|
| Band Width | Narrower | Wider |
| Precision | More precise range | Less precise range |
| Risk of Missing | 5% chance actual is outside | 1% chance actual is outside |
| Common Use | General business planning | High-stakes decisions |
Prediction vs Confidence Interval
These two terms are often confused. In Tableau's forecasting context, the distinction matters:
How to Add a Forecast
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.
Example 2: Describe Forecast
When you right-click and choose Describe Forecast, Tableau shows detailed statistics. Here's how to read the key fields:
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.
Additive vs Multiplicative
Tableau can use two seasonal models. The choice affects how the forecast handles seasonal swings as the overall level changes.
Requirements for a Good Forecast
Common Mistakes
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?