Bird
Raised Fist0
Power BIbi_tool~20 mins

Table and matrix visuals in Power BI - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Matrix Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ visualization
intermediate
2:00remaining
Identify the correct way to display hierarchical data in a matrix visual

You have sales data by Region, Country, and City. You want to show this hierarchy in a matrix visual so users can expand and collapse levels.

Which option correctly configures the matrix visual to achieve this?

AAdd Region, Country, and City fields to Rows area in order: Region, Country, City
BAdd Region, Country, and City fields to Columns area in order: City, Country, Region
CAdd City, Country, and Region fields to Values area
DAdd Region to Rows, Country to Columns, City to Values
Attempts:
2 left
💡 Hint

Think about how to create drill-down levels in a matrix visual.

❓ dax_lod_result
intermediate
2:00remaining
Calculate total sales per product category ignoring filters on subcategory

You have a table visual showing sales by Product Subcategory. You want to add a measure that shows total sales per Product Category ignoring any filters on Subcategory.

Which DAX measure will produce the correct result?

Power BI
Total Sales by Category = CALCULATE(SUM(Sales[Amount]), ALL(Product[Subcategory]))
ASUMX(VALUES(Product[Category]), SUM(Sales[Amount]))
BCALCULATE(SUM(Sales[Amount]), ALLEXCEPT(Product, Product[Category]))
CCALCULATE(SUM(Sales[Amount]), ALL(Product[Subcategory]))
DCALCULATE(SUM(Sales[Amount]), REMOVEFILTERS(Product[Category]))
Attempts:
2 left
💡 Hint

Use a function that removes filters on Subcategory but keeps others.

❓ data_modeling
advanced
2:00remaining
Optimize a table visual with many columns for performance

You have a table visual with 20 columns from a large dataset. The report is slow to load and interact with.

Which approach will best improve performance without losing important data?

AIncrease the number of rows shown per page to reduce pagination
BAdd all columns to the visual and enable row-level security
CUse calculated columns for all fields instead of measures
DRemove unnecessary columns and use aggregations or measures instead of raw columns
Attempts:
2 left
💡 Hint

Think about reducing data volume and complexity in visuals.

🔧 Formula Fix
advanced
2:00remaining
Identify the cause of incorrect subtotal values in a matrix visual

A matrix visual shows sales by Region and Product. The subtotal for Region shows a value smaller than the sum of products.

What is the most likely cause?

AThe measure used applies a filter that removes some products at subtotal level
BThe matrix visual is missing the Region field in Rows area
CThe data model has no relationship between Region and Product tables
DThe subtotal row is disabled in matrix visual settings
Attempts:
2 left
💡 Hint

Consider how measures behave differently at subtotal levels.

🎯 Scenario
expert
3:00remaining
Design a matrix visual to show monthly sales with dynamic conditional formatting

You want a matrix visual showing monthly sales by Product Category and Region. You want to highlight months where sales are below the average monthly sales for that category.

Which approach will achieve this dynamic conditional formatting?

AManually set colors for each month column in the matrix visual
BCreate a measure calculating average monthly sales per category, then use it in conditional formatting rules on the matrix values
CUse a calculated column to flag months below average and filter the matrix visual
DApply conditional formatting based on total sales without considering category averages
Attempts:
2 left
💡 Hint

Think about how to use measures in conditional formatting.

Practice

(1/5)
1. What is the main difference between a Table visual and a Matrix visual in Power BI?
easy
A. Tables can show images, matrices cannot.
B. Matrix visuals allow grouping and subtotals, tables do not.
C. Tables support drill-down, matrices do not.
D. Matrix visuals cannot display numeric data.

Solution

  1. Step 1: Understand Table visual features

    Tables display data in simple rows and columns without grouping or subtotals.
  2. Step 2: Understand Matrix visual features

    Matrices allow grouping by rows and columns and show subtotals for those groups.
  3. Final Answer:

    Matrix visuals allow grouping and subtotals, tables do not. -> Option B
  4. Quick Check:

    Grouping and subtotals = Matrix [OK]
Hint: Remember: Matrix = grouping + subtotals, Table = simple rows [OK]
Common Mistakes:
  • Thinking tables support grouping and subtotals
  • Confusing drill-down features between visuals
  • Assuming matrices cannot show numbers
2. Which of the following is the correct way to add a field to the Rows area in a Matrix visual in Power BI?
easy
A. Drag the field into the Rows area.
B. Drag the field into the Filters area.
C. Drag the field into the Values area.
D. Drag the field into the Columns area.

Solution

  1. Step 1: Identify the Rows area in Matrix visual

    The Rows area is where you place fields to group data vertically in a matrix.
  2. Step 2: Correct placement of fields

    Dragging a field into the Rows area groups data by that field in rows.
  3. Final Answer:

    Drag the field into the Rows area. -> Option A
  4. Quick Check:

    Rows area = drag fields here for row grouping [OK]
Hint: Drag fields to Rows area for vertical grouping in matrix [OK]
Common Mistakes:
  • Dragging fields to Values instead of Rows
  • Confusing Columns and Rows areas
  • Placing fields in Filters instead of Rows
3. Given a Matrix visual with Category in Rows and Year in Columns, what will be shown if you add Sales to Values?
medium
A. A list of all sales transactions without grouping.
B. Sales totals only by Category without Year breakdown.
C. Sales totals only by Year without Category grouping.
D. Sales totals grouped by Category and Year with subtotals.

Solution

  1. Step 1: Understand Matrix grouping by Rows and Columns

    Category in Rows groups data vertically; Year in Columns groups data horizontally.
  2. Step 2: Adding Sales to Values

    Sales values will be aggregated for each Category-Year combination, showing subtotals.
  3. Final Answer:

    Sales totals grouped by Category and Year with subtotals. -> Option D
  4. Quick Check:

    Matrix with Rows + Columns = grouped totals [OK]
Hint: Rows + Columns + Values = grouped totals with subtotals [OK]
Common Mistakes:
  • Ignoring the column grouping by Year
  • Expecting ungrouped transaction list
  • Confusing subtotals with raw data
4. You created a Matrix visual but subtotals are not showing. What is the most likely reason?
medium
A. Subtotals are disabled in the Matrix visual settings.
B. You did not add any fields to the Values area.
C. The data source has no numeric columns.
D. Matrix visuals never show subtotals.

Solution

  1. Step 1: Check Matrix visual subtotal settings

    Subtotals can be turned on or off in the Format pane under Subtotals.
  2. Step 2: Confirm fields and data type

    Even with fields added, subtotals won't show if disabled in settings.
  3. Final Answer:

    Subtotals are disabled in the Matrix visual settings. -> Option A
  4. Quick Check:

    Subtotals off in settings = no subtotals shown [OK]
Hint: Check subtotal toggle in Format pane if subtotals missing [OK]
Common Mistakes:
  • Assuming subtotals show automatically without enabling
  • Thinking numeric data is required for subtotals
  • Believing matrices never show subtotals
5. You want to create a report showing sales by Product Category and Region with subtotals for each. Which visual and setup is best?
hard
A. Use a Table visual with Product Category and Region in Values, Sales in Filters.
B. Use a Matrix visual with Sales in Rows, Product Category in Values, Region in Filters.
C. Use a Matrix visual with Product Category in Rows, Region in Columns, and Sales in Values.
D. Use a Table visual with Region in Rows and Sales in Columns.

Solution

  1. Step 1: Identify need for grouping and subtotals

    Showing sales by Product Category and Region with subtotals requires grouping on both dimensions.
  2. Step 2: Choose visual and field placement

    Matrix visual supports grouping by Rows and Columns and shows subtotals; place Product Category in Rows, Region in Columns, Sales in Values.
  3. Final Answer:

    Use a Matrix visual with Product Category in Rows, Region in Columns, and Sales in Values. -> Option C
  4. Quick Check:

    Matrix + Rows + Columns + Values = grouped subtotals [OK]
Hint: Matrix with Rows and Columns fields shows subtotals best [OK]
Common Mistakes:
  • Using Table visual which lacks subtotals
  • Placing Sales in Filters or wrong areas
  • Confusing Rows and Values placement
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