1. Lighthouse

Level 2 · Table or matrix?

The request

From Ashley Turner, Finance Analyst

“For the budget pack I need sales by category and, under each category, by subcategory, with a subtotal for every category and the three years side by side. Readers should be able to collapse a category to its subtotal. Right now it's a table and I'm adding the subtotals by hand in Excel.”

Your goal

Pick the visual and setup that gives Ashley what she describes, without the Excel step.

Sales by category and year, the numbers Ashley's pack summarises
Sales by category and year, the numbers Ashley's pack summarises$0$200k$400k$600kDecor, 2023: $253,397Decor, 2024: $278,970Decor, 2025: $290,302DecorFurniture, 2023: $311,565Furniture, 2024: $508,467Furniture, 2025: $573,131FurnitureKitchen, 2023: $224,663Kitchen, 2024: $281,680Kitchen, 2025: $292,809KitchenLighting, 2023: $291,028Lighting, 2024: $325,671Lighting, 2025: $385,145LightingOutdoor, 2023: $386,083Outdoor, 2024: $404,361Outdoor, 2025: $507,358OutdoorTextiles, 2023: $133,776Textiles, 2024: $194,457Textiles, 2025: $251,427Textiles202320242025
Sales by category and year, the numbers Ashley's pack summarises$0$200k$400k$600kDecor, 2023: $253,397Decor, 2024: $278,970Decor, 2025: $290,302DecorFurniture, 2023: $311,565Furniture, 2024: $508,467Furniture, 2025: $573,131Kitchen, 2023: $224,663Kitchen, 2024: $281,680Kitchen, 2025: $292,809KitchenLighting, 2023: $291,028Lighting, 2024: $325,671Lighting, 2025: $385,145Outdoor, 2023: $386,083Outdoor, 2024: $404,361Outdoor, 2025: $507,358OutdoorTextiles, 2023: $133,776Textiles, 2024: $194,457Textiles, 2025: $251,427202320242025

Six categories × three years. Under each category sit several subcategories; the pack needs both levels plus subtotals.

Show the numbers
202320242025
Decor$253,397$278,970$290,302
Furniture$311,565$508,467$573,131
Kitchen$224,663$281,680$292,809
Lighting$291,028$325,671$385,145
Outdoor$386,083$404,361$507,358
Textiles$133,776$194,457$251,427
Which setup gives Ashley subtotals per category, subcategories underneath, the years across, and collapsible categories?

Pick one answer, then check it.

The lesson

Power BI has two grid visuals that look alike in a screenshot and behave very differently. A table lists rows. A matrix groups them, the way a pivot table does in Excel.

What you are working in

This is a quiz with a chart drawn on this site from the store’s data; Power BI Desktop runs only on Windows. In Power BI Desktop both visuals are in the Visualizations pane: the Table icon and the Matrix icon next to it. Their wells differ: a table has Columns; a matrix has Rows, Columns and Values.

The table visual

A table shows one row for each combination of the fields you add, with every field as a column. Use it when:

  • the reader needs exact values for individual rows (an order list, a customer list);
  • the data is flat, with no levels to group;
  • someone will export or reconcile it.

A table has one total row at most. It has no subtotals and can’t put a field across the top.

The matrix visual

A matrix adds structure:

  • Rows as a hierarchy. Drop category then subcategory into Rows. The matrix groups subcategories under their category and shows a subtotal for each category.
  • Columns as a pivot. Drop Year into Columns and each year becomes a column of values, with a total column at the end.
  • Expand and collapse. With the row headers’ +/− icons turned on (Format visual → Row headers → +/- icons), readers fold each category to its subtotal. The drill buttons on the visual’s header do the same for the whole matrix.
  • Subtotals you control. Format visual → Row subtotals and Column subtotals switch them on or off, and choose where they appear.

Formatting either one so it reads

  • Sort by the column that matters (often the value, descending).
  • Number formats on the measure (Measure tools → Format): thousands separators, currency, one decimal on percentages.
  • Clear titles that say what and when: “Sales by category, 2023–2025”.
  • Conditional formatting to make the important cells stand out: right-click a value in the Values well → Conditional formatting → background colour, font colour or data bars.

Choosing between them

Ask whether the reader needs levels. If the answer is “a category, then what’s inside it, with a total for each”, it’s a matrix. If it’s “the list of orders over $5,000”, it’s a table. And if the reader needs to see a pattern rather than read numbers, neither: use a chart, and put the grid underneath for the people who check.

Common mistakes

  • Subtotals by hand. They go stale the first time someone filters.
  • A matrix with one field in Rows and nothing in Columns. That’s a table; use the simpler one.
  • Too many levels open. Start collapsed at category and let readers expand.

Pick what may run on this site. You can change this any time from "Cookie settings" at the bottom of every page.