Sub topic 7
Tab Settings: where the report is assembled
The Variables panel decides what you can use in an exploration. Tab Settings decides what the report shows. This chapter covers each Tab Settings section, the order that avoids the usual mistakes, and the errors that most often produce an empty or confusing table.
It assumes you can already create a Free-form exploration and import dimensions, metrics and segments into the Variables panel. It also assumes you know the difference between event, session and user scoped fields.
Where Tab Settings sits
A Free-form exploration has three areas, from left to right:
- Variables: the pool of segments, dimensions and metrics you imported. It is shared by every tab in the exploration.
- Tab Settings: the configuration for the tab you are viewing. Each tab has its own copy.
- Canvas: the rendered table or chart.
Importing a variable only makes it available. Nothing appears in the canvas until you place the variable into a Tab Settings section, by double-clicking it or dragging it across.
The sections of Tab Settings
Sections appear in roughly this order from top to bottom:
| Section | What it controls |
|---|---|
| Technique | The exploration type. In this tutorial it is Free form. |
| Visualization | Table, donut, line chart, scatter plot, bar chart or geo map. |
| Segment comparisons | Which imported segments are compared. Up to four can be active. |
| Rows | Dimensions down the left side, plus start row, row count and nesting. |
| Columns | Dimensions across the top, plus start column group and group count. |
| Values | The metrics in the cells, plus the cell type. |
| Filters | Conditions that remove rows from the result. |
Visualization choice is covered in a later chapter. Segments and filters have their own chapters. This chapter focuses on rows, columns, values and the display options attached to them.
Rows
Rows hold the dimensions that define each line of the table. Drag one dimension in and you get one row per distinct value. Drag in several and the order matters. The first dimension is the outer level and the others are subdivisions.
Two settings change how rows behave:
- Start row is the first row to display. The default is 1. Raise it to page past the top results.
- Show rows is how many rows to display at once. The default is 10, and you can raise it to as many as 500.
The row count is a display limit, not a data limit. A table that shows 10 rows may hide hundreds of others. If totals look too small when you add up the visible rows, check this first.
Nested rows
With two or more row dimensions, Nested rows controls the layout:
- No (the default) puts the dimensions side by side as flat columns. Each row is one unique combination, such as
Organic Search / mobile. - Yes groups the second dimension under each value of the first, like an outline. Parent rows can be expanded and collapsed.
Use flat rows when you want to sort by a metric across all combinations. Use nested rows when you want to read one group at a time. Show rows applies to the top level of a nested layout, so a nested table can display more lines than the setting suggests.
Columns
Columns spread a dimension across the top of the table, which turns the table into a pivot. If rows contain Session default channel group and columns contain Device category, each channel gets one cell per device for every metric in Values.
Columns have their own limits:
- Start column group and Show column groups work like their row equivalents. The default is 5 groups.
- A dimension with more values than the limit is cut off. Cut-off values simply do not appear, with no warning in the table.
Each column group repeats every metric in Values. Three metrics across four devices make twelve value columns. Keep the product small or the table becomes unreadable.
Leaving Columns empty is valid. You then get a flat table with one column per metric.
Values and cell types
Values holds the metrics. You can add several, and their order sets the left-to-right order in each group. Drag them to reorder.
Cell type changes how the numbers are drawn:
- Plain text shows the number only.
- Bar chart draws an in-cell bar scaled to the largest value in that column.
- Heat map shades each cell by its value relative to the others.
Cell type changes only the presentation. Sorting, totals and exported numbers are unaffected. Heat maps work best on a pivoted table where you want to spot the hot cells quickly.
Click a column header to sort by that metric. Sorting applies to the displayed table and respects the row limit. You get the top rows by your chosen metric, not the top rows of an arbitrary order.
Compatibility decides what you can add
Tab Settings enforces the scope rules from earlier in the tutorial. Once you place some fields, others become unavailable. In the Variables panel, an incompatible dimension or metric is greyed out, and hovering explains the conflict.
Common causes:
- A user-scoped metric next to an event-scoped dimension that does not apply to it.
- Item-scoped fields, such as
Item name, mixed with metrics that do not relate to items. - A dimension that exists only for sessions combined with metrics defined only for events.
If a field you need is greyed out, remove other fields until it becomes available, then find which one conflicts. Fields in Rows, Columns, Values and Filters are all checked together, so a filter can lock out a metric.
Filters in Tab Settings
The Filters section takes a dimension or metric, a match type and a value. The filter is applied to the data before display and affects the totals. It is different from the row limit, which only trims what is shown.
For example, a filter on Device category that exactly matches mobile leaves only mobile traffic in every row, column and total. Filters are covered fully in a later chapter. For now, remember that they live in this panel and count toward field compatibility.
A recommended build order
- Set the date range at the top of the canvas.
- Choose the visualization. Start with Table while you are building.
- Add the metrics to Values first. This shows which dimensions are compatible.
- Add the main dimension to Rows.
- Add a second dimension to Rows or Columns, depending on whether you want a list or a pivot.
- Set Show rows high enough to see the whole result.
- Add Filters or segment comparisons last, and check totals before and after.
Building values first matters because an incompatible choice gets caught early.
Tab Settings as an API request
Every setting maps to part of a Data API runReport request. Rows become dimensions, Values become metrics, and Show rows becomes limit:
{
"dateRanges": [{ "startDate": "28daysAgo", "endDate": "yesterday" }],
"dimensions": [
{ "name": "sessionDefaultChannelGroup" },
{ "name": "deviceCategory" }
],
"metrics": [
{ "name": "sessions" },
{ "name": "engagedSessions" },
{ "name": "totalUsers" }
],
"limit": 25
}This returns a flat list of rows with both dimensions side by side, matching a table with two row dimensions and nesting set to No. The plain runReport method has no column pivot. Placing a dimension in Columns corresponds to the separate runPivotReport method.
Common errors
- Totals do not match the standard report. Check the date range, active segments, filters and whether Show rows hides the rest.
- A dimension has fewer values than expected. Column groups are capped at the Show column groups setting.
- The table is blank. A segment or filter may exclude everything, or the selected fields may be incompatible.
- Duplicate-looking rows. With nesting off, each unique combination is its own row. That is normal.
- Changes in one tab do not appear in another. Tab Settings is per tab. Only the Variables panel is shared.
Exercise
A Free-form table has Session default channel group in Rows, Device category in Columns, and Sessions in Values. The table shows only 5 device groups, but you know the property has more device values than that. Which setting should you change, and why do the cut-off groups not show an error?
Show answer
Increase Show column groups in the Columns section (or move Start column group). It is a display limit, so groups beyond it are simply left out of the table without any warning. The underlying data is unchanged.
Exercise
You build a table with a filter on Device category equals mobile and then switch Cell type from Plain text to Heat map. Do the numbers or the totals change? Explain.
Show answer
No. Cell type only changes how values are drawn. The filter, which is applied to the data, is what determines the numbers and totals. Switching to a heat map only adds shading.