01 / 20

Reference Lines
& Bands

Learn to add reference lines, bands, and distributions in Tableau to highlight key thresholds, ranges, and statistical context in your visualizations.

Tableau

What Are Reference Lines?

A reference line is a constant or computed horizontal/vertical line drawn across an axis in a Tableau chart. It provides a visual benchmark so viewers can instantly compare data points against a target, average, or other meaningful value.

0 25 50 75 Avg: 47 Q1 Q2 Q3 Q4 Q5 Quarter Sales (K)

What Are Reference Bands?

A reference band is a shaded region between two values on an axis. It highlights a range rather than a single point: acceptable zones, confidence intervals, target ranges, or standard deviation bands.

0 25 50 75 Upper Lower Target Q1 Q2 Q3 Q4 Q5

Reference Distributions

A reference distribution overlays a statistical distribution curve (often a normal distribution) on your chart. It shows the expected spread of your data, making it easy to identify outliers and skew.

\(\mu\) (Mean)
\(-1\sigma\)
\(+1\sigma\)
Value Frequency

Three Types at a Glance

Reference Line
A single line across the axis: constant value, average, median, min, or max.
Reference Band
A shaded region between two values: target range, confidence interval, or percentiles.
Distribution
A statistical curve overlay: normal distribution showing \(\mu\) and \(\sigma\) spread.

Core Rules for Reference Objects

1
Requires a continuous axis. Reference lines, bands, and distributions only attach to continuous (green pill) measures: not discrete dimensions.
2
Scope matters. You choose whether the reference applies per table (entire view), per pane (each panel in a trellis), or per cell (each mark).
3
Aggregation is flexible. For computed lines you pick the aggregate: \(\text{SUM}\), \(\text{AVG}\), \(\text{MEDIAN}\), \(\text{MIN}\), \(\text{MAX}\), or a constant.
4
Bands need two boundaries. You must specify both an upper and lower value: e.g., \(\text{AVG} \pm 1\sigma\) or two constants.

Line vs Band vs Distribution

Reference Line Reference Band Distribution
Visual Single line Shaded area Curve overlay
Inputs 1 value / aggregate 2 values (from/to) Mean + std dev
Use Case Target, average Acceptable range Data spread
Scope Table, Pane, Cell Table, Pane, Cell Table, Pane, Cell
Axis Needed Continuous Continuous Continuous

Understanding Scope

Table 1 line across all Pane 1 line per pane Cell 1 line per cell

How to Add a Reference Line

1
Build your chart. Create a bar chart, line chart, or scatter plot with at least one continuous axis (e.g., \(\text{SUM}\)(Sales)).
2
Open the Analytics pane. Click the "Analytics" tab next to the "Data" tab in the left sidebar.
3
Drag the object. Drag "Reference Line," "Reference Band," or "Distribution Band" onto your chart. A drop-zone appears showing Table, Pane, or Cell.
4
Configure in the dialog. Choose the axis, aggregation (Average, Median, Constant, etc.), label, formatting, and fill options.
5
Edit later. Right-click any reference object and choose "Edit" to change its settings, or "Remove" to delete it.

Example 1: Average Sales Line

You have a bar chart of monthly sales. You want a reference line showing the average so viewers can spot above-average and below-average months.

$0 $20K $40K $60K AVG: $36.7K Jan Feb Mar Apr May Jun Above avg Below avg

Example 2: Target Band

Your manager says monthly sales should be between $30K and $50K. A reference band highlights this acceptable range so outliers are immediately visible.

$0 $20K $40K $60K $50K $30K Jan Feb Mar Apr May Jun Below Above

Example 3: Distribution Band

You have a histogram of customer order values. Adding a distribution band shows the expected normal curve with \(\pm 1\sigma\) shading, revealing whether your data is normally distributed.

\(-1\sigma\)
\(+1\sigma\)
\(\mu\)

Formatting Options

Line Style
Solid, dashed, or dotted. Set thickness and color to match your brand or emphasis level.
Fill (Bands)
Choose "Fill Above" or "Fill Below" to shade one side, or "Fill Between" for the band region.
Labels
Show Value, Computation, Custom text, or None. Position labels above, below, or centered.
Tooltip
Hovering over a reference line shows the value. Customize what appears in the tooltip.

Constant vs Computed Values

Constant Value
A fixed number you type in, like $50K target or 100% goal. Stays the same regardless of filters or data changes.
Computed Value
A dynamic aggregate like Average, Median, Min, or Max. Updates automatically when the data or filters change.

Common Mistakes

✕ Discrete Axis
Dragging a reference line onto a discrete (blue pill) axis: it won't attach. Convert to continuous first.
✕ Wrong Scope
Using "Table" scope in a trellis chart when you need per-pane averages. Each panel gets the global average, which misleads.
✕ Too Many Lines
Adding 5+ reference lines clutters the view. Use bands or distribution overlays instead of multiple separate lines.

Summary Table

Feature Ref. Line Ref. Band Distribution
What it shows Single threshold Range between two values Statistical spread
Input 1 aggregate or constant 2 aggregates or constants Auto: \(\mu\), \(\sigma\)
Best for Targets, averages Acceptable ranges, CI Normality checks
Formatting Color, style, label Fill color, border style Curve + shading
Dynamic? Yes (if computed) Yes (if computed) Always dynamic

Question 1 of 5

Which pane in Tableau do you use to add reference lines, bands, and distributions?

Question 2 of 5

Reference lines, bands, and distributions require what type of axis?

Question 3 of 5

You have a trellis chart (rows split by Region). You want each panel to show its own average line. Which scope should you choose?

Question 4 of 5

A reference band requires how many boundary values to define the shaded region?

Question 5 of 5

You want users to interactively change the target value of a reference line. What should you use as the line's value?