Bird
Raised Fist0
Tableaubi_tool~20 mins

Manual sort order in Tableau - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Manual Sort Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Manual Sort Order in Tableau

In Tableau, you want to display product categories in a specific order: Electronics, Furniture, Office Supplies. Which method correctly applies a manual sort order?

AUse the default sort option which sorts categories by sales descending automatically.
BCreate a calculated field with alphabetical sorting and use it as the sort order.
CDrag and drop categories in the desired order directly on the axis or header in the view.
DApply a filter to show only the categories in the desired order.
Attempts:
2 left
💡 Hint

Think about how Tableau allows you to reorder items visually without changing data.

❓ dax_lod_result
intermediate
2:00remaining
Manual Sort Order Using a Sort Index

You have a table with product categories and a custom sort index column to define manual order. Which DAX expression correctly returns the categories sorted by this manual order?

Categories = 
  DATATABLE(
    "Category", STRING, {"Electronics", "Furniture", "Office Supplies"},
    "SortIndex", INTEGER, {1, 2, 3}
  )
ASORTBYCOLUMNS(Categories, Categories[SortIndex], ASC)
BORDERBY(Categories, Categories[Category], ASC)
CFILTER(Categories, Categories[SortIndex] > 0)
DTOPN(3, Categories, Categories[Category], ASC)
Attempts:
2 left
💡 Hint

Look for the function that sorts by a specific column in ascending order.

❓ visualization
advanced
2:00remaining
Visualizing Manual Sort Order in Tableau

You created a manual sort order for regions: East, West, North, South. Which visualization best shows the manual order applied correctly?

AA scatter plot with regions randomly ordered.
BA pie chart with regions sorted alphabetically.
CA line chart with regions sorted by total sales descending.
DA bar chart with regions ordered East, West, North, South on the axis.
Attempts:
2 left
💡 Hint

Manual sort order affects the axis order in charts like bar charts.

🔧 Formula Fix
advanced
2:00remaining
Debugging Manual Sort Order Not Applying

You manually reordered categories in Tableau, but the view still shows alphabetical order. What is the most likely cause?

AThe data source is missing the categories column.
BThe field is sorted by a measure or another field overriding manual sort.
CThe workbook is in read-only mode preventing sorting.
DThe filter is excluding all categories.
Attempts:
2 left
💡 Hint

Think about what can override manual sorting in Tableau.

🎯 Scenario
expert
3:00remaining
Implementing Manual Sort Order with Multiple Dimensions

You have two dimensions: Category and Region. You want to manually sort categories as Electronics, Furniture, Office Supplies and regions as East, West, North, South. How do you implement manual sort order for both dimensions simultaneously in Tableau?

AManually drag and drop categories and regions separately in their respective shelves or axes to set order.
BApply a filter to show only the desired categories and regions in default order.
CCreate a combined calculated field concatenating category and region and sort alphabetically.
DUse a parameter to switch between sorting by category or region.
Attempts:
2 left
💡 Hint

Manual sorting works independently on each dimension in Tableau.

Practice

(1/5)
1. What is the main purpose of using manual sort order in Tableau?
easy
A. To arrange items in a custom order that is not alphabetical or numerical
B. To automatically sort data by date
C. To filter out unwanted data points
D. To create calculated fields for sorting

Solution

  1. Step 1: Understand sorting options in Tableau

    Tableau allows sorting by alphabetical, numerical, or manual order.
  2. Step 2: Identify manual sort purpose

    Manual sort lets you arrange items exactly as you want, ignoring default orders.
  3. Final Answer:

    To arrange items in a custom order that is not alphabetical or numerical -> Option A
  4. Quick Check:

    Manual sort = Custom order [OK]
Hint: Manual sort = drag items to set exact order [OK]
Common Mistakes:
  • Confusing manual sort with automatic alphabetical sorting
  • Thinking manual sort filters data
  • Assuming manual sort creates calculations
2. Which of the following is the correct way to manually sort categories in Tableau?
easy
A. Sort by the sum of sales automatically
B. Use the filter shelf to reorder items
C. Create a calculated field with numeric ranks
D. Right-click the field, select 'Sort', then drag items in the sort dialog

Solution

  1. Step 1: Locate manual sort option

    Manual sort is done by right-clicking the field and choosing 'Sort'.
  2. Step 2: Use drag-and-drop in sort dialog

    In the sort dialog, you drag items to reorder them manually.
  3. Final Answer:

    Right-click the field, select 'Sort', then drag items in the sort dialog -> Option D
  4. Quick Check:

    Manual sort = Right-click + drag in sort dialog [OK]
Hint: Right-click field > Sort > drag items to reorder [OK]
Common Mistakes:
  • Trying to reorder items in filter shelf
  • Using calculated fields instead of manual sort
  • Relying on automatic sum sorting
3. Given categories: A, B, C, D. You manually sort them in this order: D, B, A, C. What will be the order shown in the view?
medium
A. A, B, C, D
B. B, A, C, D
C. D, B, A, C
D. C, A, B, D

Solution

  1. Step 1: Understand manual sort order effect

    Manual sort overrides default sorting and shows items in the specified order.
  2. Step 2: Apply given manual order

    The order set is D, B, A, C, so Tableau will display categories exactly in this sequence.
  3. Final Answer:

    D, B, A, C -> Option C
  4. Quick Check:

    Manual sort order = D, B, A, C [OK]
Hint: Manual sort shows exactly the order you set [OK]
Common Mistakes:
  • Assuming alphabetical order overrides manual sort
  • Confusing manual sort with default sorting
  • Ignoring the manual order set
4. You tried to manually sort categories but the order did not change in the view. What is the most likely reason?
medium
A. The field is sorted by a measure overriding manual sort
B. You forgot to apply the manual sort after dragging items
C. Manual sort only works on numeric fields
D. You need to refresh the data source

Solution

  1. Step 1: Check sorting conflicts

    If a measure-based sort is applied, it overrides manual sorting.
  2. Step 2: Identify override cause

    Sorting by a measure like sum or average will ignore manual order settings.
  3. Final Answer:

    The field is sorted by a measure overriding manual sort -> Option A
  4. Quick Check:

    Measure sort overrides manual sort [OK]
Hint: Check if measure sorting overrides manual sort [OK]
Common Mistakes:
  • Assuming manual sort applies without removing other sorts
  • Thinking manual sort only works on numbers
  • Forgetting to refresh data
5. You have product categories: 'Low', 'Medium', 'High'. You want to show them in the order: 'Medium', 'High', 'Low'. How do you achieve this manual sort in Tableau?
hard
A. Sort the categories alphabetically and rename them
B. Right-click the category field, select 'Sort', choose 'Manual', then drag 'Medium' first, 'High' second, 'Low' last
C. Create a calculated field assigning numbers: Medium=1, High=2, Low=3, then sort by this field
D. Filter out 'Low' and sort remaining categories

Solution

  1. Step 1: Use manual sort dialog

    Right-click the category field and select 'Sort' to open manual sort options.
  2. Step 2: Drag categories in desired order

    Drag 'Medium' first, then 'High', then 'Low' to set the custom order.
  3. Step 3: Apply and verify order in view

    Apply the manual sort and check that categories appear as 'Medium', 'High', 'Low'.
  4. Final Answer:

    Right-click the category field, select 'Sort', choose 'Manual', then drag 'Medium' first, 'High' second, 'Low' last -> Option B
  5. Quick Check:

    Manual sort drag order sets display order [OK]
Hint: Drag categories in manual sort dialog to set order [OK]
Common Mistakes:
  • Trying alphabetical sort instead of manual
  • Using calculated fields unnecessarily
  • Filtering out categories instead of sorting
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