Matrix visual

A Matrix is a pivot: fields in Rows and Columns group the data, and Values shows one or more measures at each intersection. Use it when you need grouping on both axes, subtotals, or a grand total pinned below the grid.

Build a matrix

  1. Select Edit in the report header. It appears only when you can edit the report; for saving, see Build a report.
  2. In the Visualizations panel, pick Matrix under Tables & cards; the tile lands on the canvas.
  3. Drag fields from BI tables into Rows, Columns and Values. Both axes take several fields: each field nests inside the one before it, in the order you place them. For the wells themselves, see Visuals.
  4. Set the grid up on the Visual tab: its Matrix section holds subtotals, totals, auto-expand, stepped layout and share calculations. See Format a visual.

A matrix with nothing to show reads No rows; when a filter is active, the empty state also offers Clear filters.

Drill into a hierarchy

The toolbar above the grid carries the drill controls.

Expand and collapse

Subtotals and grand totals

Sort the grid

Show values as a share of the parent

Copy the grid and export it

What the grid leaves out

Cell colours on a matrix

Filter from a column header

Questions, answered

What is the difference between drilling and expanding?

Drilling replaces the level: the member you drill into becomes the top of the grid, and the level you came from moves into the path beside the toolbar. Expanding keeps every parent level on screen and opens the next one underneath it. Drill down, Drill up and Click to drill drill; Expand all and Collapse all expand.

Why did my drill path change after the data changed?

A saved drill path only keeps members that still exist in the data. When a member it names is gone, the path trims back to the last member it can still show, so the grid never matches a member against the wrong field.

Why are the drill controls greyed out?

Each control disables when its action is unavailable. Drill down needs a next level, so an axis with a single field has nothing to drill into; Drill up needs a drill that is in progress; Expand all and Collapse all disable once every group on the axis is already open or closed. The Drill on selector appears only when both axes can drill.

How is a matrix sorted, and why can't I sort by a total?

Select a sortable column header: the ordering goes to the query, the visual re-runs, and the indicator then shows on every header of the sorted field. A total column offers no ordering, because a total is a rollup rather than a field you can rank by.

Why is my "% of parent row total" cell empty?

The cell has no parent to divide by: its parent is zero or missing, or the cell sits under the column grand total. Shares stay blank in those cases rather than showing a wrong ratio.

Where are my subtotals and the row grand total?

Turn on Row subtotals and Row grand total in the Matrix section of the Visual tab. Subtotals close each group with a row carrying the member's name and Total; the row grand total is pinned below the grid in a sticky footer rather than drawn as a row. Column subtotals and Column grand total have switches beside them. See Format a visual.

What does (Blank) mean in a row or column header?

The member is empty in the data: some rows carry no value for that field. Those rows are grouped under (Blank) instead of being dropped.

Why can't I click to drill into a row?

Arm Click to drill first, and pick a row that still has a level beneath it; a member on the deepest level has nothing left to open.

Why is there no paging or search on my matrix?

A pivot keeps its hierarchy and its subtotals together, so the grid has no page footer, no search box, no column reordering and no row selection. More rows arrive through the Load more records footer instead.

Why does my column width reset when I reopen the report?

Column widths are deliberately not saved with a matrix. The grid rebuilds its columns from the fields each time the report opens, so a width you drag applies while the report is open.

How do I copy the whole matrix into a spreadsheet?

Use Copy in the grid toolbar: it copies the whole result, not just the visible window. Include headers and Formatted values in the same menu decide whether headers come along and whether cells copy as displayed or as raw values.

Why does the copied text have more columns than the screen?

That is by design: each level of the row hierarchy gets its own column in the copied text, so a child row never loses its parent's label; headers flatten to one line per level, and a stacked measure names itself in a trailing column.