Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions references/chart-types/table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ You can add subtotals to your tables by selecting `Show subtotals` in the chart

To use subtotals, you need to have at least 2 or more dimensions in your table visualization.

Subtotals are calculated by running an additional query against your warehouse at each nesting level, so values are accurate for every metric type — including non-additive metrics like `count_distinct`, `average`, and ratio metrics. You won't see "average of averages" or inflated distinct counts in the subtotal rows.

### Expand subtotals by default

When `Show subtotals` is enabled, you can also enable `Expand subtotals by default` to control how subtotal groups render when the chart first loads:
Expand Down
Loading