Visual Reference Lines: Choosing a Meaningful Benchmark

A bar or point tells you a value, but you often need a comparison to interpret it. A visual reference line marks a constant or computed value on a chart’s axis. In Tableau, you use it to compare observations with a target, a typical value or another meaningful benchmark. The important decisions are what the line represents and which observations contribute to it.

Choose the benchmark

A reference line belongs on a continuous axis. Its position uses the same scale and units as the values you are comparing. A sales target measured in units belongs on the units-sold axis.


A constant line represents a supplied value, such as a monthly target of 200 units. Its value does not depend on the observations used to draw the chart. A computed line represents a summary, such as an average, minimum or maximum, calculated over a chosen part of the view.


Four monthly sales bars are compared with a horizontal target line.


The four monthly sales values shown have an average of 170 units. That average describes observed performance; the 200-unit target states an expectation. These benchmarks answer different questions, even when both appear on the same chart.


For an average of equally weighted displayed values:


xˉ=x1+x2+⋯+xnn\bar{x}=\frac{x_1+x_2+\cdots+x_n}{n}


Here, nn is the number of values included. An average of displayed summaries is not automatically an average of all underlying records. For example, averaging store averages gives each store equal weight, regardless of how many transactions it handled.



Set the scope

The scope specifies the portion of the view over which the reference line is calculated and displayed. Tableau offers Table, Pane and Cell destinations when the view supports them.


Scope

Comparison area

Typical use

Table

The entire view for the chosen axis

Compare observations with one overall benchmark

Pane

Each subdivision of the view

Compare observations with their own group’s benchmark

Cell

Each smallest partition of the view

Give each individual partition its own benchmark


A pane might contain one region’s monthly sales. A Pane average then compares months within that region. A Table average instead provides a shared comparison across regions.


Cell does not always mean one observation. Inspect the worksheet’s structure. If a cell contains just one value, an average line for that cell coincides with that value and adds little information. Changing scope can change a computed benchmark; repeating a constant across scopes does not change its numeric value.

Add and communicate the line

With a suitable continuous axis in the view, drag Reference Line from the Analytics pane onto the appropriate scope destination. In the dialog, choose the value and computation, then set a useful label and line formatting. You can edit an existing line to revise these choices.


Use a label that communicates meaning, such as Monthly target: 200 units or Average monthly sales. A number alone does not explain whether the line is a target or an observed summary.



Interpret the direction in context. Higher sales may be desirable, whereas higher waiting times may be undesirable. Above the line does not automatically mean better performance.

What to remember

  • Use a constant for a supplied target and a computed value for a data summary.
  • Match the benchmark’s units and level of aggregation to the comparison.
  • Choose Table, Pane or Cell deliberately.
  • Label what the line means and interpret its direction in context.

Example: Comparing Branch Waiting Times

A service team’s benchmark is a comparison value used to assess performance. Its Tableau worksheet has two panes, one for Harbor branch and one for Hill branch. Each pane displays three monthly mean waiting times on a continuous minutes axis. For this report, each monthly mark receives equal weight. Management also sets a fixed target of 7 minutes; lower waiting times are better.


Branch

April mean (min)

May mean (min)

June mean (min)

Harbor

6

8

10

Hill

4

6

5


The Harbor branch pane shows its three monthly mean waiting times on a separate minutes axis.


The Hill branch pane shows its three monthly mean waiting times on a separate minutes axis.


a) Find each branch’s average across its three monthly marks. Specify the scope for visual reference lines that show these separate averages.


First add the three monthly values within each branch. Harbor’s sum is ________, and Hill’s sum is ________. These sums are intermediate quantities, not the reference-line positions.


Divide each sum by its three equally weighted monthly marks:


xˉHarbor=6+8+103=8 minxˉHill=4+6+53=5 min\begin{aligned} \bar{x}_{\text{Harbor}}&=\frac{6+8+10}{3}=8\ \text{min}\\ \bar{x}_{\text{Hill}}&=\frac{4+6+5}{3}=5\ \text{min} \end{aligned}


Choose Average with Pane scope because each branch occupies its own pane. The final reference-line values are 8 minutes for Harbor and 5 minutes for Hill.


b) Find the average across all six displayed monthly marks. Specify its scope and compare its value with Harbor’s own average.


The combined sum of the monthly values is ________, and the number of equally weighted marks is ________. Use these values to calculate the average across the view:


xˉview=6+8+10+4+6+56=6.5 min\bar{x}_{\text{view}}=\frac{6+8+10+4+6+5}{6}=6.5\ \text{min}


Choose Average with Table scope to calculate the benchmark across both branch panes. Harbor’s own average exceeds this benchmark by:


8−6.5=1.5 min8-6.5=1.5\ \text{min}


The Table-scope reference line is 6.5 minutes. Harbor’s average is 1.5 minutes above it. This benchmark describes the six monthly marks; the information supplied does not establish a mean across individual customers.


c) Specify the settings for the fixed management target across the whole view. Use it to evaluate each branch’s June result.


Choose a Constant value of 7 minutes with Table scope. Label it Management target: 7 min so viewers can distinguish the target from an observed average.


Compare each June value with that fixed target:


Harbor excess waiting time=10−7=3 minHill improvement over target=7−5=2 min\begin{aligned} \text{Harbor excess waiting time}&=10-7=3\ \text{min}\\ \text{Hill improvement over target}&=7-5=2\ \text{min} \end{aligned}


Because lower waiting times are better, Harbor misses the target by 3 minutes, while Hill beats it by 2 minutes. The constant remains 7 minutes regardless of either branch’s observed average.

A retailer displays weekly order accuracy on a continuous percentage axis in Tableau. Management requires 98% accuracy regardless of the observed weekly results. Which visual reference line represents this requirement?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

An analyst is preparing visual reference lines for a Tableau worksheet with several panes and multiple cells. Match each setting to the function it controls.

Match each term
A.

Uses the entire view as the comparison area for the chosen axis

B.

Uses each subdivision of the view as a separate comparison area

C.

Uses each smallest partition of the view as a separate comparison area

D.

Uses a supplied fixed numeric value rather than a summary of observations

Constant

Pane

Table

Cell

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A Tableau worksheet displays one daily order-total bar for each of four stores: Birch has 30 orders, Cedar 70, Maple 90 and Pine 150. A Table-scope Average visual reference line gives each displayed store total equal weight. At what value should the line appear? Answer in orders, to one decimal place.


Four bars show the daily order totals for four stores.


Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors