Matrix

Use a matrix for grouped rows and measures, optionally split across a column dimension.

Key fields
visuals:
  status_matrix:
    type: matrix
    title: Orders by category and status
    query:
      rows:
        category: orders.category
      columns:
        status: orders.status
      measures:
        order_count: null
        revenue: null

API reference

Kind: visual. Renderer: tabular. Supported result shapes: matrix.

FieldTypeDefaultAllowed valuesDescription
typestringtable matrix pivotSelects the tabular visual behavior.
querytabular querySelects record fields or grouped row, column, and measure fields.
cardinalitystringbounded exactControls whether the visual resolves an exact row count.

Accessibility. Tabular visuals expose semantic headers and virtualized rows while preserving keyboard navigation.