Aggregation Table

The Aggregation table answers how much, per what? — one row per value of your segments, one column per measure, and a totals row at the bottom. It is the quickest way to read exact numbers, and the place most visualizations start before you turn them into a chart.

When to use it

Use an Aggregation table when Use something else when
You need the exact figures, to the decimal. You want to see a trend or a shape — use a chart.
You compare several measures side by side. You want the individual rows behind a number — use a List.
You break a number down by two or three properties. You want one headline number — use a Highlight.

Build one

  1. Open the mode picker at the top of the Explore sidebar.

  2. Choose Aggregation.

  3. Click Add Measure and pick the number you want — for example Price. See Measures.

  4. Click Add Segment and pick what to break it down by — for example Airline. See Segments.

The table appears as soon as you add the measure and refreshes after every change. With a measure and no segment, Explore shows the single total as a big number instead of a one-row table. The click-by-click version, with a screenshot of each picker, is Build a Visualization.

Options

Option Where What it does
Measures Add Measure One column per measure. Each has its own aggregation, name, number format and optional filter — see Measures.
Segments Add Segment One row per value; a second segment nests inside the first. Time groupings, number ranges and Show Missing Values live on the segment row — see Segments.
Top or Bottom Top or Bottom Keep only the highest or lowest rows, optionally with an Other row for the rest — see Measures → Top / Bottom N.
Filters Add Filter, or a segment header → Filter by … Narrow the rows before anything is counted — see Filters.
Totals row Footer rows → Totals row The bottom row that totals every measure over all segments. On by default.
Footer rows Footer rows → Add footer row More rows under the totals, each with its own aggregation — and, per column, a different aggregation or an empty cell. Drag a row to reorder.
Sort Column header → Sort Ascending / Sort Descending / Clear Sort Orders the rows by that column.
Summary rows Header of an outer segment → Summary rows One extra line per group with a Sum, Minimum, Maximum, Average, Median, Variance or Standard Deviation of the whole group.
Column width Drag the right edge of a header Wider or narrower columns; double-click the edge to reset.
Fixed column Column header → Fixed column Keeps that column and every column to its left in view while the table scrolls sideways.
Filter from a value Click a value Filter to …, Filter out … or Copy.
Export ⋯ → Export to CSV Downloads the table as a CSV file.

Sort by a column

  1. Click a column header — a segment or a measure.

  2. Choose Sort Ascending or Sort Descending. An arrow in the header shows the direction.

  3. To go back to the natural order, open the same menu and choose Clear Sort.

The sort covers every row of the result and happens instantly — nothing is re-queried. Sorting an inner column keeps the outer grouping intact and reorders the rows inside each group. A chart keeps its own sort order: switching to a chart and back leaves both as you set them.

Turn the totals row off

  1. Find Footer rows at the bottom of the sidebar (it is open by default).
  2. Turn Totals row off to hide the bottom row, or on to show it again.

The totals row is computed over all the data, not added up from the rows above it, so an Average total is the true average and a Count total the true distinct count.

The totals row is the first of the table's footer rows. Add more when one number per column is not enough — for example a row of averages under the totals:

  1. In Footer rows, click Add footer row. The new row opens right away.
  2. Pick the row's aggregation: Total (each measure's own total), Sum, Minimum, Maximum, Average, Median, Variance, Standard Deviation and their sample variants, or Count for a measure that counts an attribute.
  3. Under Columns, change a single column: give it a different aggregation, or choose Empty where an average or a sum would not make sense. Choose Row aggregation to make it follow the row again.
  4. Click the row to close it. Closed, it shows its aggregation and how many columns have their own, for example Median · 1 column override. Click it again to edit it.
  5. Drag a row by its handle to move it up or down — the table's footer follows the same order. With the keyboard, focus the handle and press the Up or Down arrow.
  6. To remove a row, open it and click the trash icon.

A row that uses one aggregation shows its name in the first cell, for example Average. A row whose columns use different aggregations — say a Sum under Revenue and an Average under Rating — puts the aggregation's name in grey in front of each number. Every footer value is computed over all the data, never added up from the rows above it. A computed measure or a variable has only its total, so its cell in any other footer row shows an em dash (—). The Totals row switch hides or shows the whole footer.

Add summary rows

With two or more segments — for example Airline and then Cabin Class — you can add a line under each group of the outer segment:

  1. Click the header of the outer column, here Airline.

  2. Under Summary rows, tick an aggregation — for example Average. The menu stays open so you can tick several.

  3. Under each airline, one visually distinct line appears per ticked aggregation, covering the whole group across the finer breakdown.

The offered aggregations are Sum, Minimum, Maximum, Average, Median, Variance, Standard Deviation and their sample variants, plus Count when one of your measures counts an attribute. Each summary is computed on the whole group, not added up from the lines above it, so a Median is a true median. A measure that is a formula (a computed measure or a variable) has no single column to re-aggregate, so its summary cell shows an em dash (—).

Resize a column

  1. Point at the right-hand edge of a column header — the pointer turns into a resize cursor.
  2. Drag it left or right. The other columns keep their widths.
  3. Double-click the same edge to put that column back to its default width.

The edge is also a keyboard control: Tab to it, then ← and → to narrow and widen, and Home to reset. Columns never shrink below a readable minimum, and a value that no longer fits is shortened with an ellipsis.

Keep columns in view while scrolling sideways

A wide table scrolls sideways, and the columns that say what each row is can scroll out of view. Fix them:

  1. Click the header of the last column you want to keep in view — here Cabin Class.

  2. Tick Fixed column. That column and every column to its left stay put while the rest scrolls underneath them.

  3. To release them, untick Fixed column on any fixed column — it and every column to its right scroll again.

Filter from a value

Every value in the table is a shortcut to a filter.

  1. Click a value — for example Emirates.
  2. Choose Filter to Emirates to keep only that value, Filter out Emirates to drop it, or Copy to copy the text.

A number offers Filter to greater than …, Filter to lower than … and their neighbours instead, and a period such as Mar 2024 offers Filter to Mar 2024 and Filter out Mar 2024 — see Filters. The new filter appears under Filters like any other, so Undo takes it back.

Export to CSV

  1. Click ⋯ (More actions) at the right of the Explore toolbar.
  2. Choose Export to CSV.

The file holds what the table shows: the segments, the measures and the totals, in the current sort order.

Very long tables

A table with no Top or Bottom shows at most the first 5,000 rows, ranked by the first measure, and says so above the table: Showing first 5,000 rows — result is larger. Add a Top-N to this visualization to control what is shown. Add a Top or Bottom limit to choose which rows you keep, or a filter to narrow the result.

What travels with the table

Sorting, footer rows, summary rows, column widths and fixed columns are part of the visualization. They travel with a shared link, a saved view and a dashboard card — a card keeps the same columns in view when it scrolls sideways, and draws the same summary rows. On a dashboard in edit mode the card's column headers offer this whole menu and its column edges can be dragged, exactly as in Explore; in view mode the headers are plain labels. When a card is too short for all its rows, the column headers stay at the top and the totals row at the bottom while the rows scroll between them, just as in Explore. A scheduled report of that dashboard is rendered in the same order and with the same column widths (an email does not scroll sideways, so fixed columns do not apply there).

Tips

  • Build in a table first, then switch the mode picker to a chart — your measures, segments and filters carry over.
  • Name a measure the way your audience says it (Revenue rather than Sum Price) in the measure's panel — the header follows.
  • Two segments plus summary rows give you subtotals without a second table.

Pin it to a dashboard

  1. Click Add to Dashboard in the Explore toolbar.
  2. Pick an existing dashboard, or Create New Dashboard.

See Build a Dashboard for the whole path.

← ListHighlight →