google_api_sheets v0.12.0 GoogleApi.Sheets.V4.Model.PivotTable View Source
A pivot table.
Attributes
columns
(type:list(GoogleApi.Sheets.V4.Model.PivotGroup.t)
, default:nil
) - Each column grouping in the pivot table.criteria
(type:%{optional(String.t) => GoogleApi.Sheets.V4.Model.PivotFilterCriteria.t}
, default:nil
) - An optional mapping of filters per source column offset.The filters are applied before aggregating data into the pivot table. The map's key is the column offset of the source range that you want to filter, and the value is the criteria for that column.
For example, if the source was
C10:E15
, a key of0
will have the filter for columnC
, whereas the key1
is for columnD
.rows
(type:list(GoogleApi.Sheets.V4.Model.PivotGroup.t)
, default:nil
) - Each row grouping in the pivot table.source
(type:GoogleApi.Sheets.V4.Model.GridRange.t
, default:nil
) - The range the pivot table is reading data from.valueLayout
(type:String.t
, default:nil
) - Whether values should be listed horizontally (as columns) or vertically (as rows).values
(type:list(GoogleApi.Sheets.V4.Model.PivotValue.t)
, default:nil
) - A list of values to include in the pivot table.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Sheets.V4.Model.PivotTable{ columns: [GoogleApi.Sheets.V4.Model.PivotGroup.t()], criteria: %{ optional(String.t()) => GoogleApi.Sheets.V4.Model.PivotFilterCriteria.t() }, rows: [GoogleApi.Sheets.V4.Model.PivotGroup.t()], source: GoogleApi.Sheets.V4.Model.GridRange.t(), valueLayout: String.t(), values: [GoogleApi.Sheets.V4.Model.PivotValue.t()] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.