Bird
Raised Fist0
Tableaubi_tool~20 mins

Field sort (alphabetic, data source) in Tableau - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Field Sort Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Default Field Sorting in Tableau

In Tableau, when you add a dimension to the Rows shelf, how is it sorted by default?

ABy the order of data appearance in the data source
BAlphabetically ascending
CBy measure values in descending order
DRandomly each time the view refreshes
Attempts:
2 left
💡 Hint

Think about how Tableau respects the original data unless you specify otherwise.

❓ dax_lod_result
intermediate
1:30remaining
Sorting a Field Alphabetically in Tableau

You want to sort the 'Category' dimension alphabetically ascending in Tableau. Which method will achieve this?

ARight-click 'Category' > Sort > Sort by 'Data Source Order'
BRight-click 'Category' > Sort > Sort by 'Alphabetic' ascending
CDrag 'Category' to Columns and sort by measure
DCreate a calculated field with RANK() and sort by it
Attempts:
2 left
💡 Hint

Look for the option that explicitly sorts alphabetically.

❓ visualization
advanced
2:00remaining
Visualizing the Effect of Data Source Order Sort

You have a 'Region' dimension with values in this order in your data source: East, West, North, South. You want to create a bar chart sorted by this data source order. Which Tableau setting ensures the bars appear in this exact order?

ASort 'Region' by 'Data Source Order' ascending
BSort 'Region' by 'Alphabetic' ascending
CSort 'Region' by 'Field' descending using Sales measure
DSort 'Region' manually by dragging bars in the view
Attempts:
2 left
💡 Hint

Think about preserving the original order from the data source.

🔧 Formula Fix
advanced
2:00remaining
Troubleshooting Unexpected Sort Order in Tableau

You set a dimension 'Product' to sort alphabetically ascending, but the view still shows a different order. What is the most likely cause?

ATableau does not support alphabetic sorting on dimensions
BThe data source order always overrides any sort settings
CThe measure used in the view forces a descending sort
DA manual sort was applied previously and overrides the alphabetic sort
Attempts:
2 left
💡 Hint

Consider if any manual user actions might override automatic sorting.

🎯 Scenario
expert
3:00remaining
Combining Data Source and Alphabetic Sorting in a Complex Tableau Dashboard

You have a dashboard with multiple sheets using the 'Category' dimension. Some sheets require sorting by data source order, others alphabetically. How can you manage sorting to meet both needs without duplicating the data source?

ADuplicate the data source and set different sort orders in each
BChange the data source order to alphabetic and use it everywhere
CCreate two separate calculated fields for 'Category' with different sort orders and use them accordingly
DUse a parameter to toggle sorting mode globally for all sheets
Attempts:
2 left
💡 Hint

Think about how Tableau allows different fields with different properties.

Practice

(1/5)
1. What does sorting fields alphabetically in Tableau do?
easy
A. It changes the data source order permanently.
B. It arranges fields in the Data pane from A to Z by their names.
C. It sorts data rows in the worksheet alphabetically.
D. It filters out fields that don't start with a letter.

Solution

  1. Step 1: Understand field sorting in Tableau

    Sorting fields alphabetically arranges the field names in the Data pane from A to Z.
  2. Step 2: Differentiate from data sorting

    This sorting affects only the field list, not the data rows or data source order.
  3. Final Answer:

    It arranges fields in the Data pane from A to Z by their names. -> Option B
  4. Quick Check:

    Field names sorted alphabetically = It arranges fields in the Data pane from A to Z by their names. [OK]
Hint: Alphabetic sort orders field names A to Z in the Data pane [OK]
Common Mistakes:
  • Confusing field sorting with data row sorting
  • Thinking it changes data source order
  • Assuming it filters fields
2. Which menu option in Tableau lets you sort fields by data source order?
easy
A. Right-click Data pane > Sort > Data Source Order
B. Right-click Data pane > Sort > Alphabetic
C. Worksheet menu > Sort Fields > Data Source
D. Data menu > Sort > Manual

Solution

  1. Step 1: Locate sorting options in Tableau

    Right-clicking the Data pane shows a Sort submenu with options including Alphabetic and Data Source Order.
  2. Step 2: Identify correct option for data source order

    Selecting 'Data Source Order' sorts fields as they appear in the original data source.
  3. Final Answer:

    Right-click Data pane > Sort > Data Source Order -> Option A
  4. Quick Check:

    Data Source Order sorting = Right-click Data pane > Sort > Data Source Order [OK]
Hint: Right-click Data pane > Sort > Data Source Order for original field order [OK]
Common Mistakes:
  • Choosing Alphabetic instead of Data Source Order
  • Looking in Worksheet or Data menu instead of Data pane
  • Selecting Manual sort which is not for data source order
3. If you sort fields alphabetically in Tableau, which field order will you see in the Data pane?
Fields: Sales, Profit, Customer, Date
medium
A. Profit, Sales, Customer, Date
B. Sales, Profit, Customer, Date
C. Date, Customer, Profit, Sales
D. Customer, Date, Profit, Sales

Solution

  1. Step 1: List fields alphabetically

    Sort the fields by their names alphabetically: Customer, Date, Profit, Sales.
  2. Step 2: Compare with given options

    Customer, Date, Profit, Sales matches the alphabetical order exactly.
  3. Final Answer:

    Customer, Date, Profit, Sales -> Option D
  4. Quick Check:

    Alphabetic order = Customer, Date, Profit, Sales [OK]
Hint: Alphabetic sort orders fields by name A to Z [OK]
Common Mistakes:
  • Assuming original data source order is kept
  • Mixing up alphabetical order
  • Choosing random order
4. You tried to sort fields by data source order but the fields remain alphabetically sorted. What is the likely issue?
medium
A. You need to refresh the data source first.
B. Tableau does not support sorting by data source order.
C. You did not select 'Data Source Order' in the sort menu.
D. Fields cannot be sorted in the Data pane.

Solution

  1. Step 1: Understand sorting options

    Tableau supports sorting fields by Alphabetic or Data Source Order via the Data pane menu.
  2. Step 2: Identify common user mistake

    If fields remain alphabetically sorted, likely the user did not choose 'Data Source Order' explicitly.
  3. Final Answer:

    You did not select 'Data Source Order' in the sort menu. -> Option C
  4. Quick Check:

    Not selecting correct sort option = You did not select 'Data Source Order' in the sort menu. [OK]
Hint: Always confirm 'Data Source Order' is selected to change sort [OK]
Common Mistakes:
  • Assuming Tableau lacks data source order sorting
  • Forgetting to refresh data source
  • Thinking fields cannot be sorted
5. You have a Data pane with fields ordered as: Region, Sales, Profit, Date. You want to sort fields alphabetically but keep 'Date' always last. How can you achieve this in Tableau?
hard
A. Sort alphabetically, then manually drag 'Date' to the bottom.
B. Sort by data source order and rename 'Date' to start with 'Z'.
C. Use a calculated field to exclude 'Date' from sorting.
D. Tableau does not allow custom sorting of fields.

Solution

  1. Step 1: Apply alphabetic sort

    Sort fields alphabetically to order them by name automatically.
  2. Step 2: Manually adjust 'Date' position

    Drag the 'Date' field manually to the bottom to keep it last.
  3. Final Answer:

    Sort alphabetically, then manually drag 'Date' to the bottom. -> Option A
  4. Quick Check:

    Manual drag after sort = Sort alphabetically, then manually drag 'Date' to the bottom. [OK]
Hint: Sort alphabetically, then drag exceptions manually [OK]
Common Mistakes:
  • Thinking data source order can fix custom exceptions
  • Trying to exclude fields via calculation
  • Believing Tableau disallows manual field order
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard