Bird
Raised Fist0
Tableaubi_tool~15 mins

Synchronizing axes 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 clear comparison of monthly sales and monthly profit trends on the same chart. The axes should be synchronized so the trends are easy to compare.
📊 Data: You have monthly sales and profit data for the past year. Each row contains Month, Sales, and Profit values.
🎯 Deliverable: Create a dual-axis line chart in Tableau with synchronized axes for Sales and Profit by Month.
Progress0 / 7 steps
Sample Data
MonthSalesProfit
Jan100002500
Feb120003000
Mar150004000
Apr130003500
May160004500
Jun170004800
Jul140003700
Aug180005000
Sep190005200
Oct200005500
Nov210005800
Dec220006000
1
Step 1: Connect your data source in Tableau and load the data.
No formula needed.
Expected Result
Data with Month, Sales, and Profit columns is available in Tableau.
2
Step 2: Drag 'Month' to the Columns shelf to create the timeline.
Columns: Month
Expected Result
Months appear along the horizontal axis.
3
Step 3: Drag 'Sales' to the Rows shelf to create the first line chart.
Rows: SUM(Sales)
Expected Result
Line chart showing total Sales by Month.
4
Step 4: Drag 'Profit' to the Rows shelf, next to Sales, to create a second line chart.
Rows: SUM(Profit)
Expected Result
Two separate line charts stacked vertically: Sales on top, Profit below.
5
Step 5: Click the second axis (Profit) and select 'Dual Axis' to overlay the two charts.
Right-click on Profit axis > Dual Axis
Expected Result
Sales and Profit lines appear on the same chart with two vertical axes.
6
Step 6: Right-click on one of the vertical axes and select 'Synchronize Axis' to align scales.
Right-click axis > Synchronize Axis
Expected Result
Both Sales and Profit lines share the same vertical scale, making comparison easier.
7
Step 7: Format the chart: add colors to lines, adjust tooltips, and add axis titles for clarity.
Color Sales line blue, Profit line green; add axis titles 'Sales' and 'Profit'.
Expected Result
Clear, easy-to-read dual-axis line chart with synchronized axes and labeled lines.
Final Result
Month ->

|  Sales & Profit Trends (Dual Axis)  |

  ^
  |  *      *      *      *      *      *      *      *      *      *      *      *  (Sales - Blue)
  |   *      *      *      *      *      *      *      *      *      *      *      * (Profit - Green)
  +--------------------------------------------------------------------------------->
    Jan    Feb    Mar    Apr    May    Jun    Jul    Aug    Sep    Oct    Nov    Dec
Sales and Profit both increase steadily from January to December.
Synchronizing axes helps to see that Profit grows proportionally with Sales.
Dual-axis chart makes it easy to compare trends on the same scale.
Bonus Challenge

Add a third measure, 'Expenses', to the chart with synchronized axes and distinct color.

Show Hint
Drag 'Expenses' to Rows, create dual axis with Profit, then synchronize axes. Use a different color for Expenses.

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