PivotValue

Defines one pivot summary value bound to a source field. Maps a field path to the aggregate used when calculating the result matrix.

Props

The following table outlines the props for the PivotValue:

NameTypeDefaultDescription
field
Extract<string> | string &amp; Object
-

Source field used for the aggregation. Supports dot-separated field paths when the underlying data model is nested.

type
-

Summary operation applied to the field value. Required. Use 'Sum', 'Count', 'Min', 'Max', 'Average', or a registered custom aggregate name.