OBJECT

PivotField

Row or column dimension of a pivot table: the field the values are grouped by and how the groups are sorted.

link GraphQL Schema definition

  • type PivotField {
  • # Identifier of the field used as a pivot row or column dimension.
  • fieldId: ID!
  • # How the field's values are grouped, for example by month or by interval.
  • groupOption: GroupOption
  • # Id of the value field whose totals this dimension's groups are sorted by, in
  • # sortOrder; when null, the groups are sorted by their own values.
  • sortFieldId: ID
  • # Sort direction applied to this dimension's values, either ascending (Asc) or
  • # descending (Desc).
  • sortOrder: SortOrder
  • # Custom numeric intervals used to group records when the group option is set to
  • # manual intervals.
  • groupIntervals: [GroupInterval!]
  • }