Skip to content

SelectedReportColumn

A column in a report, with its settings.

type SelectedReportColumn {
aggregation: ColumnAggregationMode
column: PossibleReportColumn!
groupBy: Boolean
ordering: OrderByDirection
overrideColumnName: String
pivotRole: PivotRole
pivotValueFunction: ColumnAggregationMode
}

The aggregate: how the column’s values combine. The report then groups by the columns with none.

The column: one of the report type’s possible columns.

Whether the report groups its rows by the column.

The order by: which way the report sorts by the column. At least one column needs one.

The override column name: the column’s header in place of its own.

The pivot role: the part the column plays in the pivot table. Any role but NONE adds a pivot table to an Excel file.

The pivot value function: how a VALUE column combines in the pivot table.

reports.defaultColumn query

MyReport object