Bird
0
0

You have a sales table with a 'Region' column and a separate 'Region Sort Order' table. How do you ensure a bar chart sorts regions by the custom order defined in 'Region Sort Order'?

hard📝 Scenario Q15 of 15
Power BI - Power Query Editor
You have a sales table with a 'Region' column and a separate 'Region Sort Order' table. How do you ensure a bar chart sorts regions by the custom order defined in 'Region Sort Order'?
ASort the 'Region Sort Order' column alphabetically
BCreate a relationship between tables and sort 'Region' column by 'Region Sort Order' column
CSort the bar chart manually by dragging bars
DUse a slicer to filter regions in desired order
Step-by-Step Solution
Solution:
  1. Step 1: Understand sorting with related tables

    To sort by a custom order in another table, a relationship must exist between the tables.
  2. Step 2: Apply sorting by related column

    Sort the 'Region' column by the 'Region Sort Order' column from the related table to enforce custom order in visuals.
  3. Final Answer:

    Create a relationship between tables and sort 'Region' column by 'Region Sort Order' column -> Option B
  4. Quick Check:

    Relationship + sort by related column = custom order [OK]
Quick Trick: Link tables and sort main column by related order column [OK]
Common Mistakes:
  • Sorting order column alphabetically loses custom order
  • Trying to drag bars does not persist sorting
  • Using slicers does not change sort order

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes