toggledColumn
The Report that results from toggling this metric's column on or off.
If isColumnEnabled is true, following this link produces a report with the column removed. If isColumnEnabled is false, following it produces a report with the column added.
Arguments
toggledColumn doesn't take any arguments.
Type
This field resolves to Report, which has the following fields:
| Field | Description | Type |
|---|---|---|
aggregationOptions | The grouping dimensions available for this report. | [ ReportAggregationOption ] |
columns | The keys of the columns currently in the report. Deprecated — use `columnsV2` instead. | [ String ] |
columnsV2 | The columns currently included in the report, in display order. | [ ReportColumn ] |
filter | Returns the filter identified by `ReportFilter.key`, or null if no filter with that key exists for this report. | ReportFilter |
filters | All filters available for this report, whether or not they are currently active. | [ ReportFilter ] |
id | An opaque identifier that encodes the complete report configuration — type, columns, filters, sorting, and active aggregations. | ID! |
lines | The data rows for the current page. Each `ReportLine` contains one cell per column in the same order as `columnsV2`. | [ ReportLine ] |
metricConnections | All available metrics paired with their current column state. | [ ReportMetricConnection ] |
metrics | Flat list of all metrics available for this report type. | [ ReportMetric ] |
numberOfLines | The total number of rows matching the current filters, regardless of pagination. | Int |
sorting | The sort orders currently applied to the report. Each entry names a metric key and a direction. | [ ReportSorting ] |
summaries | One summary value per column, in the same order as `columnsV2`. | [ String ] |
type | The report type, such as `"sales"` or `"events"`. The type determines which metrics are available and how rows are defined. | ReportType |
withoutAggregations | The same report with all grouping removed, returning to individual row-level data. | Report |