Bird
Raised Fist0
Tableaubi_tool~8 mins

Synchronizing axes in Tableau - Dashboard Guide

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
Dashboard Mode - Synchronizing axes
Business Question

How can we compare monthly sales and profit trends side by side with synchronized axes to easily see their relationship?

Sample Data
MonthSalesProfit
January100002500
February120003000
March150004000
April130003500
May160004500
June170004800
Dashboard Components
  • KPI Card - Total Sales: SUM([Sales]) = 83000
  • KPI Card - Total Profit: SUM([Profit]) = 22300
  • Line Chart - Monthly Sales and Profit: Dual-axis line chart with Month on X-axis, Sales on left Y-axis, Profit on right Y-axis. Axes synchronized to same scale (0 to 18000) for direct comparison.
  • Table - Monthly Sales and Profit: Shows Month, Sales, and Profit side by side for reference.
Dashboard Layout
+----------------------+----------------------+
|  KPI: Total Sales    |  KPI: Total Profit   |
+----------------------+----------------------+
|                                              |
|          Line Chart: Monthly Sales & Profit   |
|          (Synchronized Axes)                   |
|                                              |
+----------------------------------------------+
|          Table: Monthly Sales and Profit      |
+----------------------------------------------+
Interactivity

A filter for Month allows selecting one or multiple months. When applied, the KPI cards, line chart, and table update to show data only for the selected months. The synchronized axes on the line chart adjust dynamically to the filtered data range to maintain accurate comparison.

Self Check

If you add a filter to show only March to May, which components update and how?

  • KPI Cards update to show total sales (15000 + 13000 + 16000 = 44000) and total profit (4000 + 3500 + 4500 = 12000) for those months.
  • Line chart updates to show only March, April, and May data points with axes rescaled but still synchronized.
  • Table updates to list only March, April, and May rows.
Key Result
Dashboard comparing monthly sales and profit with synchronized dual axes for clear trend analysis.

Practice

(1/5)
1. What is the main purpose of synchronizing axes in Tableau when using dual-axis charts?
easy
A. To filter data based on axis values
B. To create separate charts for each measure
C. To change the color of the axes
D. To align multiple measures on the same scale for easier comparison

Solution

  1. Step 1: Understand dual-axis charts

    Dual-axis charts combine two measures on one view but may have different scales.
  2. Step 2: Purpose of synchronizing axes

    Synchronizing axes aligns these scales so the measures can be compared directly.
  3. Final Answer:

    To align multiple measures on the same scale for easier comparison -> Option D
  4. Quick Check:

    Synchronizing axes = aligned scales [OK]
Hint: Synchronize axes to compare measures on the same scale [OK]
Common Mistakes:
  • Thinking it changes colors
  • Believing it filters data
  • Assuming it creates separate charts
2. Which of the following is the correct way to enable axis synchronization in Tableau for a dual-axis chart?
easy
A. Right-click on one axis and select 'Synchronize Axis'
B. Drag one measure over the other measure in the data pane
C. Use the 'Filter' shelf to synchronize axes
D. Change the mark type to 'Bar'

Solution

  1. Step 1: Locate axis options

    In a dual-axis chart, right-clicking an axis shows options related to that axis.
  2. Step 2: Enable synchronization

    Selecting 'Synchronize Axis' aligns the scales of both axes.
  3. Final Answer:

    Right-click on one axis and select 'Synchronize Axis' -> Option A
  4. Quick Check:

    Right-click axis -> Synchronize Axis [OK]
Hint: Right-click axis to find 'Synchronize Axis' option [OK]
Common Mistakes:
  • Trying to drag measures to synchronize
  • Using filters to sync axes
  • Changing mark types instead
3. Given a dual-axis chart with Sales and Profit measures, what happens if you do NOT synchronize the axes?
medium
A. Sales and Profit will be shown on different scales, making direct comparison difficult
B. Both measures will be combined into a single measure
C. The chart will show an error and not render
D. The axes will automatically synchronize anyway

Solution

  1. Step 1: Understand dual-axis without synchronization

    Without synchronization, each axis uses its own scale based on its data range.
  2. Step 2: Effect on comparison

    This causes Sales and Profit to appear on different scales, making it hard to compare values visually.
  3. Final Answer:

    Sales and Profit will be shown on different scales, making direct comparison difficult -> Option A
  4. Quick Check:

    Unsynchronized axes = different scales [OK]
Hint: No sync means different scales, hard to compare [OK]
Common Mistakes:
  • Thinking measures combine automatically
  • Expecting an error to occur
  • Assuming axes sync by default
4. You created a dual-axis chart but the 'Synchronize Axis' option is grayed out. What is the most likely cause?
medium
A. The chart type is set to pie chart
B. You forgot to add a filter to the view
C. One or both axes are using discrete (categorical) fields instead of continuous fields
D. The data source is not connected

Solution

  1. Step 1: Check field types for axes

    Synchronizing axes requires continuous fields because only continuous axes have numeric scales.
  2. Step 2: Identify why option is disabled

    If one or both axes use discrete fields, the option to synchronize is disabled (grayed out).
  3. Final Answer:

    One or both axes are using discrete (categorical) fields instead of continuous fields -> Option C
  4. Quick Check:

    Discrete fields disable sync option [OK]
Hint: Sync needs continuous fields, not discrete [OK]
Common Mistakes:
  • Thinking filters affect sync availability
  • Assuming data connection causes this
  • Confusing chart types with axis sync
5. You want to create a combined line and bar chart in Tableau showing Sales (bar) and Profit (line) on the same view. How do you ensure the axes are synchronized for accurate comparison?
hard
A. Place Sales and Profit on separate sheets and combine them in a dashboard
B. Create a dual-axis chart, set Sales as bar, Profit as line, then right-click Profit axis and select 'Synchronize Axis'
C. Use a filter to show only Sales or Profit at a time
D. Change both measures to discrete fields before creating the chart

Solution

  1. Step 1: Build dual-axis chart with different mark types

    Drag Sales and Profit to Rows, create dual-axis, assign Sales to bar and Profit to line marks.
  2. Step 2: Synchronize axes for scale alignment

    Right-click the Profit axis and select 'Synchronize Axis' to align scales for comparison.
  3. Final Answer:

    Create a dual-axis chart, set Sales as bar, Profit as line, then right-click Profit axis and select 'Synchronize Axis' -> Option B
  4. Quick Check:

    Dual-axis + sync axis = aligned combined chart [OK]
Hint: Dual-axis + sync axis for combined bar and line chart [OK]
Common Mistakes:
  • Using separate sheets instead of dual-axis
  • Filtering measures instead of syncing axes
  • Changing measures to discrete disables sync