Bird
Raised Fist0
Tableaubi_tool~10 mins

Synchronizing axes in Tableau - Interactive Code Practice

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
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to synchronize axes by selecting the correct option.

Tableau
Right-click on the secondary axis and select [1] to synchronize it with the primary axis.
Drag options to blanks, or click blank then click option'
AFormat Axis
BAdd Reference Line
CEdit Axis
DSynchronize Axis
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'Edit Axis' instead of 'Synchronize Axis'.
Selecting 'Format Axis' which only changes appearance.
2fill in blank
medium

Complete the sentence to explain when to synchronize axes.

Tableau
You should synchronize axes when you have [1] measures on a dual-axis chart that need to be compared on the same scale.
Drag options to blanks, or click blank then click option'
Atwo
Bone
Cthree
Dno
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking synchronization is needed for only one measure.
Assuming it applies when there are three or more measures.
3fill in blank
hard

Fix the error in the statement about synchronizing axes.

Tableau
To synchronize axes, you must [1] the primary axis and select 'Synchronize Axis'.
Drag options to blanks, or click blank then click option'
Adouble-click
Bleft-click
Cright-click
Ddrag
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to synchronize by left-clicking or double-clicking.
Attempting to drag the axis to synchronize.
4fill in blank
hard

Fill both blanks to describe the effect of synchronizing axes.

Tableau
Synchronizing axes makes the scales [1] and the marks [2] for easier comparison.
Drag options to blanks, or click blank then click option'
Amatch
Bdifferent
Calign
Doverlap
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'different' for scales which is opposite of synchronization.
Selecting 'overlap' for marks which can cause confusion.
5fill in blank
hard

Fill all three blanks to complete the steps for synchronizing axes in Tableau.

Tableau
First, create a dual-axis chart by dragging [1] to Rows and [2] to Rows. Then, right-click the [3] axis and select 'Synchronize Axis'.
Drag options to blanks, or click blank then click option'
AMeasure 1
BMeasure 2
Csecondary
Dprimary
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to synchronize the primary axis.
Dragging the same measure twice.

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