Documentation

@kanunilabs/pivotgrid


@kanunilabs/pivotgrid / PivotSummaryDisplayMode

Type Alias: PivotSummaryDisplayMode

PivotSummaryDisplayMode = "absolute" | "percentOfTotal" | "percentOfColumnTotal" | "percentOfRowTotal" | "percentOfParentRowTotal" | "percentOfParentColumnTotal" | "runningTotal" | "difference" | "percentDifference"

Post-aggregation display transformation applied after cell values are computed.

  • percentOfRowTotal / percentOfColumnTotal: the cell's share of its row's (or column's) GRAND total.
  • percentOfParentRowTotal: the share of the parent row group in the same column — Berlin of Germany. A top-level row's parent is the grand total row; the grand total row is 100%.
  • percentOfParentColumnTotal: the same on the column axis, in the same row.

A zero or missing divisor shows 0.