01 / 20

The Analytics Pane
in Tableau

Master reference lines, trend lines, and distribution bands to transform raw charts into insightful analytical dashboards.

Tableau

What Is the Analytics Pane?

The Analytics Pane is a panel in Tableau Desktop (and Tableau Public) that lets you drag statistical and reference objects directly onto a visualization: no calculations, no formulas, just drag and drop.

Why the Analytics Pane Matters

★ Context
Reference lines turn a bar chart into a story: "Are we above or below the goal?"
★ Speed
Drag-and-drop is faster than writing calculated fields or table calculations.
★ Insight
Trend lines, forecasts, and distribution bands reveal patterns hidden in raw marks.

Three Sections of the Analytics Pane

Analytics Pane SUMMARIZE Constant Line · Average Line · Median with Quartiles · Totals Box Plot · Trend Line MODEL Average with 95% CI · Median with 95% CI · Trend Line · Forecast CUSTOM Reference Line · Reference Band · Distribution Band · Box Plot

What Is a Reference Line?

A reference line is a straight line drawn across a continuous axis at a specific value. It can represent a constant (e.g., a sales target of \( \$50{,}000 \)), an aggregate (e.g., average), or a computed value from a parameter.

Month Sales Jan Feb Mar Apr May Avg Target

Reference Bands vs Distribution Bands

Reference Band
A shaded region between two fixed values on an axis: e.g., the zone from \( \$40k \) to \( \$60k \).
Distribution Band
A shaded region based on standard deviations or percentiles: e.g., \( \bar{x} \pm 1\sigma \) captures ~68% of data.
\(+1\sigma\)
\(-1\sigma\)
Mean outlier outlier

Adding Trend Lines

A trend line fits a statistical model to your data. Tableau supports Linear, Logarithmic, Exponential, Polynomial, and Power models. The most common is the linear model: \( y = mx + b \).

Ad Spend Revenue R² = 0.97

Reference Line vs Trend Line

Reference Line Trend Line
Purpose Mark a specific value Show a statistical relationship
Shape Always a straight line Can be curved (log, poly)
Requires One continuous axis Two continuous fields (x, y)
Output Fixed position Equation + \( R^2 \) value
Best for Goals, averages, benchmarks Predicting future values

Scope: Table, Pane, or Cell

When you add a reference line, Tableau asks you to choose its scope: how much of the view it covers.

Entire Table
One line across all data. Example: the overall average of all months.
Per Pane
One line per sub-section created by a dimension on Rows/Columns.
Per Cell
One line per individual mark: useful for showing each category's own average.

Step-by-Step: Adding a Reference Line

1
Build a chart with at least one continuous axis (e.g., a bar chart of Sales by Month).
2
Click the Analytics tab on the left panel (next to the Data tab).
3
Drag "Reference Line" from the Custom section onto the view. Drop it on the axis.
4
Choose the scope: Table, Per Pane, or Per Cell.
5
Configure the value: pick a measure (SUM, AVG, MIN, MAX, etc.) or enter a constant.
6
Style it: choose line type (solid, dashed), color, label, and tooltip text.

Example 1: Average Sales Line

You have a bar chart of monthly sales. You want to add a line showing the average sales across all months so readers can instantly see which months beat the average.

Jan Feb Mar Apr May Jun Avg: $52.5k above avg below avg

Example 2: Constant Target Line

Your manager sets a quarterly target of \( \$200{,}000 \). You want a fixed line regardless of the data values.

1
Open the Analytics Pane and drag a Reference Line onto the Sales axis.
2
In the dialog, change the Value dropdown from a measure to Constant.
3
Type \( 200000 \) in the constant field.
4
Set the label to Custom and type "Q Target: $200k". Choose a dashed amber line.

Example 3: Distribution Band for Outliers

You have a scatter plot of shipping times. You want to highlight orders that fall outside \( \bar{x} \pm 2\sigma \) as potential outliers.

Order Date Ship Days
\(+2\sigma\)
\(-2\sigma\)
Mean outlier outlier outlier

Formatting Your Reference Objects

Every reference line, band, and distribution band has a formatting dialog where you control appearance and labeling.

Line Style
Solid, dashed, or dotted. Use dashed for averages and solid for hard targets.
Label Options
None, Value, Computation, or Custom text. Custom labels are best for dashboards.
Fill (Bands)
Choose Fill Above/Below to shade the area and draw the audience's eye to outliers.

Common Mistakes

✕ Wrong Axis Type
Reference lines require a continuous axis. If your field is discrete (blue pill), convert it to continuous first.
✕ Wrong Scope
Choosing "Entire Table" when you wanted "Per Pane" gives one line instead of one per category.
✕ Trend Line on Discrete
Trend lines need both axes continuous. A bar chart with a discrete dimension won't support trend lines.

Summary of Analytics Objects

Object When to Use Requires
Reference Line Show a benchmark or aggregate 1 continuous axis
Reference Band Highlight a target range 1 continuous axis + 2 values
Distribution Band Show statistical spread 1 continuous axis
Trend Line Reveal relationships/predict 2 continuous fields
Box Plot Show quartiles + outliers 1 continuous + 1 discrete
Forecast Predict future values Date field + 1 measure

Question 1 of 5

Where do you find the Analytics Pane in Tableau Desktop?

Question 2 of 5

What type of axis does a reference line require?

Question 3 of 5

You add a reference line scoped to "Entire Table" on a bar chart split by Region. How many reference lines appear?

Question 4 of 5

A distribution band set to \( \pm 1\sigma \) from the mean captures approximately what percentage of the data (assuming a normal distribution)?

Question 5 of 5

Which analytics object would you use to predict next quarter's revenue from a time-series chart?