Skip to content

Commit cbdc7e5

Browse files
docs: note warehouse-computed row totals in pivot tables (#740)
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 31ec771 commit cbdc7e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

references/chart-types/table.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ You can add column totals or row totals (in pivot tables) to your tables by sele
158158
Totals are not calculated for table calculations.
159159
</Info>
160160

161-
In pivot tables, column totals are computed by running an extra aggregation query against your warehouse, so each total reflects the true value for that column rather than a sum of the cells shown. This means totals are now accurate for `count`, `sum`, `count_distinct`, `average`, `min`, `max`, and ratio metrics in pivot tables.
161+
In pivot tables, both column totals and row totals are computed by running extra aggregation queries against your warehouse, so each total reflects the true value for that column or row rather than a sum of the cells shown. This means totals are accurate for `count`, `sum`, `count_distinct`, `average`, `min`, `max`, and ratio metrics in pivot tables, in both the metrics-as-columns and metrics-as-rows layouts. If the warehouse cannot return a value for a given total (for example, when a metric is not defined for that row), the cell is left blank rather than showing an incorrect sum.
162162

163163
### Incorrect totals
164164

0 commit comments

Comments
 (0)