Skip to main content

SF-0197 · Concept · Medium

Explain Matrix report?

✓ Verified by Vikas Singhal · Last reviewed 5/17/2026 · Updated for Spring '26

A Matrix Report groups data by both rows and columns — a pivot table inside Salesforce. Pick it when you need to see one metric cross-tabbed across two dimensions, like region × product, owner × stage, or month × type.

What it looks like

                  Hardware    Software    Services    Total
APAC              $500K       $200K       $100K       $800K
EMEA              $400K       $700K       $300K       $1.4M
AMER              $300K       $750K       $450K       $1.5M
Total             $1.2M       $1.65M      $850K       $3.7M

Rows: Region. Columns: Product Family. Each cell: Sum of Amount for that combination.

When to use Matrix

  • Comparison across two dimensions — “won deals by month and product”
  • Pivot analysis — anything you’d build a pivot table for in Excel
  • Heat maps — combined with conditional highlighting
  • Side-by-side trend — owner × quarter

How to build one

  1. Start a Summary report — add a row grouping
  2. Toggle the report format to Matrix
  3. Drag a field to Columns → Group Columns
  4. Pick a numeric summary (Sum, Count, Avg)
  5. Save and run

Grouping limits

  • Up to 2 row groupings + 2 column groupings = 4 total dimensions
  • Common in practice: 1 row × 1 column
                  Q1     Q2     Q3     Q4
Region: APAC
   Hardware       $100K  $120K  $150K  $130K
   Software       $50K   $60K   $80K   $70K
Region: EMEA
   Hardware       $200K  $210K  $230K  $240K
   Software       $300K  $320K  $360K  $400K

Matrix on dashboards

Matrix reports feed:

  • Stacked bar / column charts (one dimension as series)
  • Grouped bar / column (one dimension grouped, the other as series)
  • Heat map tables
  • Lightning Table with column groupings

Strengths and limits

StrengthLimit
Two-dimensional analysis nativelyMore expensive to compute than Summary
Built-in heat-map vibesCell-level conditional highlighting only
Supports summary formulas at row, column, and grand-total levelsCannot drill into individual records easily — drill happens at the cell
Sortable by grand totalsHarder to read on small screens

Performance

Matrix reports run slower than Summary because they aggregate across two dimensions. For tables with millions of rows, push high-cardinality dimensions to columns sparingly — 10 columns × 10 rows = 100 cells is fine; 200 columns × 100 rows = 20,000 cells is not.

Matrix vs Summary in two lines

  • Summary groups rows only.
  • Matrix groups rows and columns.

Same source, different shape.

Common follow-ups

  • Maximum groupings in Matrix? — 2 row + 2 column = 4 total.
  • Can I switch a Matrix back to Summary? — Yes, in the Lightning Report Builder.
  • Why is my Matrix slow? — Too many distinct column values. Filter or bucket them down.

Verified against: Salesforce Help — Matrix Reports. Last reviewed 2026-05-17 for Spring ‘26.