# Data table - sum row columns

**URL:** https://community.holistics.io/t/data-table-sum-row-columns/2084
**Category:** Ask the Community
**Tags:** visualizations
**Created:** [September 13, 2024, 5:00am UTC](https://community.holistics.io/t/data-table-sum-row-columns/2084 "2024-09-13T05:00:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Carnley](https://community.holistics.io/user_avatar/community.holistics.io/david_carnley/32/1379_2.png) [@David\_Carnley](https://community.holistics.io/u/David_Carnley)
#### Post date: [September 13, 2024, 5:00am UTC](https://community.holistics.io/t/data-table-sum-row-columns/2084/1 "2024-09-13T05:00:32Z")

</div>

Hello,  
I have a data table viz and using a sum row. But for some of the columns it doesn’t make sense… For example one of them is an invoice number. It’s an integer value, but it doesn’t make any sense to calculate a sum. Another is a percentage based on 2 other columns. An average of this column might make sense, but a sum sure does not.

Is there a way to exclude specific columns from the Sum Row feature?

---

<div class="post-metadata">

### Author: ![duc](https://community.holistics.io/user_avatar/community.holistics.io/duc/32/514_2.png) [@duc](https://community.holistics.io/u/duc)
#### Post date: [September 13, 2024, 6:09am UTC](https://community.holistics.io/t/data-table-sum-row-columns/2084/2 "2024-09-13T06:09:12Z")

</div>

Hi David,

Thank you for reaching out to us.

To better understand your request and provide more accurate solutions, could you please add some screenshots and elaborate on the difficulties you’re facing more? We look forward to hearing from you.

---

<div class="post-metadata">

### Author: ![anya.conti](https://community.holistics.io/user_avatar/community.holistics.io/anya.conti/32/1743_2.png) [@anya.conti](https://community.holistics.io/u/anya.conti)
#### Post date: [September 13, 2024, 10:12am UTC](https://community.holistics.io/t/data-table-sum-row-columns/2084/3 "2024-09-13T10:12:24Z")

</div>

I’m not sure if it would help in your specific usecase, but we’ve used pivot tables (without actually pivoting on something) for more accurate totals. They do summaries by calculating the metric for the whole group instead of a straight sum of everything in the column (so percentages would be a percentage of the whole rather than the sum of percentages for each group). It should also avoid sums of numeric dimensions if they’re added in as rows instead of values.

Here’s a couple threads of feature suggestions we’ve made for data tables:

> [@Column Totals: Data Table vs. Pivot Table](https://community.holistics.io/t/column-totals-data-table-vs-pivot-table/2031):
>
> Hello! I’ve been experimenting with the Column Totals in Data Tables (sum and average) and in Pivot Tables. I would love to be able to use the Pivot Table style of totals on standard Data Tables. Column 1: revenue → Total is expected to be the sum Column 2: list price sold → Total is expected to be a sum Column 3: discount % → Total is expected to be 1 - (total revenue/total list price sold) We can’t always use Pivot Tables to get these types of responsive totals because we sometimes need ro…

> [@Table Chart Column Totals - Deduplication of Underlying Data](https://community.holistics.io/t/table-chart-column-totals-deduplication-of-underlying-data/2061):
>
> During our migration, we have found Pivot Table Column Totals and Data Table Sum Rows are evaluated differently on Holistics. This shows up especially where aggregated data model records are applicable to multiple selected dimensions in the table / pivot table. I understand improvements to Data Tables are in consideration and development. It may be beneficial to leverage a similar method for Sum Rows as is currently implemented in Pivot Table Column Totals. An example and details below: For…
