Bird
Raised Fist0
Tableaubi_tool~15 mins

Reference bands in Tableau - Real Business Scenario

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a sales dashboard that highlights monthly sales performance with clear visual cues showing average sales and target sales ranges using reference bands.
📊 Data: You have monthly sales data for the current year including Month, Sales Amount, and Sales Target columns.
🎯 Deliverable: Create a Tableau dashboard with a line chart of monthly sales and add reference bands for average sales and target sales range.
Progress0 / 5 steps
Sample Data
MonthSales AmountSales Target
January1200015000
February1400015000
March1300015000
April1600015000
May1700015000
June1500015000
July1800015000
August1900015000
September2000015000
October2100015000
November2200015000
December2300015000
1
Step 1: Connect your sales data to Tableau and open a new worksheet.
Import the data source containing Month, Sales Amount, and Sales Target columns.
Expected Result
Data is loaded and visible in Tableau's Data pane.
2
Step 2: Create a line chart showing monthly sales.
Drag 'Month' to Columns shelf and 'Sales Amount' to Rows shelf. Change 'Month' to discrete if needed to show all months.
Expected Result
A line chart appears showing sales amount for each month.
3
Step 3: Add a reference band for average sales across all months.
Right-click on the vertical axis, select 'Add Reference Line'. In the dialog, select 'Band', set Scope to 'Entire Table', From 'Average of Sales Amount' to 'Average of Sales Amount', Label to 'Average Sales', and set a light color fill.
Expected Result
A shaded band appears on the chart representing the average sales value.
4
Step 4: Add a reference band showing the sales target range.
Add another reference band on the vertical axis. Set Scope to 'Entire Table', set band from 'Minimum of Sales Target' to 'Maximum of Sales Target', label it 'Target Range', and choose a distinct color fill with some transparency.
Expected Result
A second shaded band appears showing the target sales range across all months.
5
Step 5: Format the chart for clarity and add a title.
Add chart title 'Monthly Sales with Average and Target Bands'. Adjust colors for good contrast and ensure labels are readable.
Expected Result
The chart clearly shows monthly sales line with two reference bands and a descriptive title.
Final Result
Average Sales Band
(17,500)
Target Range
Target Range
Sales consistently exceed the average sales band from July onwards.
The sales target is constant at 15000 each month, shown by the target range band.
Months January to March have sales below the target range.
From July to December, sales are well above the target range, indicating strong performance.
Bonus Challenge

Add a reference line showing the median sales and compare it with the average sales band.

Show Hint
Use 'Add Reference Line' on the vertical axis, select 'Median' aggregation for Sales Amount, and choose a contrasting color line.

Practice

(1/5)
1. What is the main purpose of adding a Reference Band in a Tableau chart?
easy
A. To add a title to the chart
B. To change the color of the entire chart background
C. To highlight a range of values on the axis for easy comparison
D. To filter out data points outside a specific range

Solution

  1. Step 1: Understand what a Reference Band does

    A Reference Band highlights a range on the axis, making it easier to see where data points fall within that range.
  2. Step 2: Compare options to the purpose

    Only To highlight a range of values on the axis for easy comparison describes highlighting a range for comparison, which matches the purpose of Reference Bands.
  3. Final Answer:

    To highlight a range of values on the axis for easy comparison -> Option C
  4. Quick Check:

    Reference Band = Highlight range [OK]
Hint: Reference bands highlight ranges, not filter or color whole chart [OK]
Common Mistakes:
  • Confusing reference bands with filters
  • Thinking reference bands change chart background color
  • Assuming reference bands add titles
2. Which of the following is the correct way to add a Reference Band in Tableau?
easy
A. Right-click the axis, select 'Add Reference Line', then choose 'Band'
B. Drag a measure to the Filters shelf and select 'Reference Band'
C. Click 'Worksheet' menu and select 'Add Reference Band' directly
D. Double-click the title and type 'Reference Band'

Solution

  1. Step 1: Recall the method to add Reference Bands

    In Tableau, Reference Bands are added by right-clicking the axis, selecting 'Add Reference Line', and then choosing 'Band'.
  2. Step 2: Evaluate each option

    Only Right-click the axis, select 'Add Reference Line', then choose 'Band' correctly describes this process. The other options describe incorrect or nonexistent steps.
  3. Final Answer:

    Right-click the axis, select 'Add Reference Line', then choose 'Band' -> Option A
  4. Quick Check:

    Add Reference Band = Right-click axis > Add Reference Line > Band [OK]
Hint: Always add reference bands via axis right-click menu [OK]
Common Mistakes:
  • Trying to add reference bands from Filters shelf
  • Looking for a direct menu option under Worksheet
  • Confusing reference bands with chart titles
3. Given a sales chart with a Reference Band set between $10,000 and $20,000, what will happen to sales values of $25,000?
medium
A. They will be highlighted inside the band
B. They will be outside the highlighted band range
C. They will be filtered out from the chart
D. They will change color to red automatically

Solution

  1. Step 1: Understand the Reference Band range

    The Reference Band highlights values between $10,000 and $20,000 only.
  2. Step 2: Analyze where $25,000 falls

    $25,000 is greater than $20,000, so it lies outside the band and will not be highlighted.
  3. Final Answer:

    They will be outside the highlighted band range -> Option B
  4. Quick Check:

    Value > band max = outside band [OK]
Hint: Values outside band range are not highlighted [OK]
Common Mistakes:
  • Assuming values above band max are highlighted
  • Thinking reference bands filter data
  • Believing colors change automatically without setup
4. You added a Reference Band but it does not appear on your Tableau chart. What is the most likely reason?
medium
A. You need to add a filter before adding a band
B. You forgot to refresh the data source
C. Reference Bands only work on pie charts
D. The band range is set outside the data's axis scale

Solution

  1. Step 1: Check Reference Band range vs axis scale

    If the band range is outside the visible axis scale, it won't show on the chart.
  2. Step 2: Evaluate other options

    Refreshing data or filters are unrelated to band visibility; Reference Bands work on many chart types, not just pie charts.
  3. Final Answer:

    The band range is set outside the data's axis scale -> Option D
  4. Quick Check:

    Band range inside axis scale = visible band [OK]
Hint: Ensure band range fits axis scale to see it [OK]
Common Mistakes:
  • Thinking data refresh affects band visibility
  • Believing bands only work on pie charts
  • Assuming filters are required before bands
5. You want to highlight sales performance between $15,000 and $30,000 on a line chart and also show the average sales as a reference line. How do you correctly set this up in Tableau?
hard
A. Add a Reference Band from $15,000 to $30,000 and add a Reference Line for average sales on the same axis
B. Add two Reference Bands: one for $15,000 to $30,000 and one for average sales
C. Add a Reference Line for $15,000 and another Reference Line for $30,000, then add average sales as a band
D. Add a filter to show only sales between $15,000 and $30,000 and add average sales as a color

Solution

  1. Step 1: Add Reference Band for sales range

    Use 'Add Reference Line' > 'Band' to highlight sales between $15,000 and $30,000.
  2. Step 2: Add Reference Line for average sales

    Add a separate Reference Line on the same axis to show the average sales value.
  3. Step 3: Confirm correct setup

    Add a Reference Band from $15,000 to $30,000 and add a Reference Line for average sales on the same axis correctly describes adding one band for the range and one line for average, which is the best practice.
  4. Final Answer:

    Add a Reference Band from $15,000 to $30,000 and add a Reference Line for average sales on the same axis -> Option A
  5. Quick Check:

    Band for range + line for average = correct setup [OK]
Hint: Use band for range and line for average on same axis [OK]
Common Mistakes:
  • Using two bands instead of band plus line
  • Confusing lines and bands roles
  • Filtering data instead of highlighting range