# \#sum

**URL:** https://community.amazonquick.com/tag/sum/111.md

[Latest](https://community.amazonquick.com/latest.md) · [Categories](https://community.amazonquick.com/categories.md) · [Tags](https://community.amazonquick.com/tags.md)

---

## [sumOver problem - levels](https://community.amazonquick.com/t/sumover-problem-levels/45363)

<div class="topic-metadata">

**Author:** [@JRoz](https://community.amazonquick.com/u/JRoz)\
**Replies:** 4\
**Last updated:** [August 11, 2025, 8:55am UTC](https://community.amazonquick.com/t/sumover-problem-levels/45363 "2025-08-11T08:55:08Z")

</div>

Hi! I am using avgOver and sumOver, and I have a problem - sumOver sums all prices across IDs and I want to sum ‘distinct’ values over type as shown in the picture. Is this doable with QS calculations?

---

## [Filter measure by selected employee values without applying visual filters in Quick](https://community.amazonquick.com/t/filter-measure-by-selected-employee-values-without-applying-visual-filters-in-quick-sight/46932)

<div class="topic-metadata">

**Author:** [@DianaC](https://community.amazonquick.com/u/DianaC)\
**Replies:** 3\
**Last updated:** [June 12, 2025, 6:48am UTC](https://community.amazonquick.com/t/filter-measure-by-selected-employee-values-without-applying-visual-filters-in-quick-sight/46932 "2025-06-12T06:48:02Z")

</div>

Hi everyone, My dataset consists of a single fact table containing both employee-level data (e.g., what department and practice thei belog to) and project-related data (available hours, billable hours etc). I currently…

---

## [Drop down with sums](https://community.amazonquick.com/t/drop-down-with-sums/45541)

<div class="topic-metadata">

**Author:** [@huda.h.yazgi](https://community.amazonquick.com/u/huda.h.yazgi)\
**Replies:** 4\
**Last updated:** [May 19, 2025, 12:44pm UTC](https://community.amazonquick.com/t/drop-down-with-sums/45541 "2025-05-19T12:44:29Z")

</div>

My dataset contains the following columns: Category: EXAMPLE: Products category value: EXAMPLE: Cosmetics test category count: the sum of each category & category value combination SEE TABLE EXAMPL BELOW I curren…

---

## [Total sum is not ignoring the rows with zero values](https://community.amazonquick.com/t/total-sum-is-not-ignoring-the-rows-with-zero-values/43299)

<div class="topic-metadata">

**Author:** [@glopes](https://community.amazonquick.com/u/glopes)\
**Replies:** 4\
**Last updated:** [March 27, 2025, 9:43pm UTC](https://community.amazonquick.com/t/total-sum-is-not-ignoring-the-rows-with-zero-values/43299 "2025-03-27T21:43:51Z")

</div>

Hey there. In my pivot table I’m using four calculated field (Col 1, col 2, col 3 and col 4). The sum of col 1, col 2 is correct but the sum of col 3 and 4 is not. The sum of col 3 and 4 is not ignoring the rows with ze…

---

## [Sum of pivot table print as Object](https://community.amazonquick.com/t/sum-of-pivot-table-print-as-object/38488)

<div class="topic-metadata">

**Author:** [@irisiri](https://community.amazonquick.com/u/irisiri)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 3:27pm UTC](https://community.amazonquick.com/t/sum-of-pivot-table-print-as-object/38488 "2024-12-06T15:27:17Z")

</div>

Hi, Team. I’ve been attempting to populate the total of percentages for one of the columns in the pivot table. However, it populates it as an object, as illustrated in the image. Please help me out.

---

## [Caluculated field - Addition of two column values in Analysis](https://community.amazonquick.com/t/caluculated-field-addition-of-two-column-values-in-analysis/22272)

<div class="topic-metadata">

**Author:** [@Gaurav\_Shukla](https://community.amazonquick.com/u/Gaurav_Shukla)\
**Replies:** 22\
**Last updated:** [November 13, 2024, 12:26pm UTC](https://community.amazonquick.com/t/caluculated-field-addition-of-two-column-values-in-analysis/22272 "2024-11-13T12:26:55Z")

</div>

I am trying to create a calculated field in Analysis section. The 2 original column names are: purchase, bookings. I have used following formula but nothing is working: sum({purchase}) + sum({bookings}) {purchase} + {…

---

## [Creating a Calculated Metric in Quick to Monitor and Manage Conversion Rate Limits for Specific Value in one of our Dimension](https://community.amazonquick.com/t/creating-a-calculated-metric-in-quicksight-to-monitor-and-manage-conversion-rate-limits-for-specific-value-in-one-of-our-dimension/34026)

<div class="topic-metadata">

**Author:** [@MajidFa](https://community.amazonquick.com/u/MajidFa)\
**Replies:** 6\
**Last updated:** [October 14, 2024, 2:29pm UTC](https://community.amazonquick.com/t/creating-a-calculated-metric-in-quicksight-to-monitor-and-manage-conversion-rate-limits-for-specific-value-in-one-of-our-dimension/34026 "2024-10-14T14:29:01Z")

</div>

How can I create a calculated metric to determine if we exceed the conversion rate limit set by one of our providers (benz) on a weekly basis, which would result in a penalty? We are car selling website The provider’s r…

---

## [What is the replacement for Tableau's Attr() function in quicksight?](https://community.amazonquick.com/t/what-is-the-replacement-for-tableaus-attr-function-in-quicksight/34244)

<div class="topic-metadata">

**Author:** [@snehapampari](https://community.amazonquick.com/u/snehapampari)\
**Replies:** 4\
**Last updated:** [September 9, 2024, 3:21pm UTC](https://community.amazonquick.com/t/what-is-the-replacement-for-tableaus-attr-function-in-quicksight/34244 "2024-09-09T15:21:24Z")

</div>

Hi, I have a calculated field in tableau where I used Attr() function to aggregate a column in if condition like this IF ATTR(\[Metric Name\]) = ‘# Dedicated SSD Sites’ THEN STR(ROUND(MAX(\[Station Count\]),0)) ELSEIF A…

---

## [Issue with SUM Column Returning Null Values in Quick Table View](https://community.amazonquick.com/t/issue-with-sum-column-returning-null-values-in-quicksight-table-view/32549)

<div class="topic-metadata">

**Author:** [@isingla](https://community.amazonquick.com/u/isingla)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 4:16am UTC](https://community.amazonquick.com/t/issue-with-sum-column-returning-null-values-in-quicksight-table-view/32549 "2024-07-22T04:16:09Z")

</div>

Hi Team, I have a quick question. I’m working on creating a simple table view in Quick Sight. I created three calculated fields and then a fourth field which is the sum of the first three fields. However, the SUM column…

---

## [Ignore some filters from calculated metric](https://community.amazonquick.com/t/ignore-some-filters-from-calculated-metric/32519)

<div class="topic-metadata">

**Author:** [@MajidFa](https://community.amazonquick.com/u/MajidFa)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 10:07pm UTC](https://community.amazonquick.com/t/ignore-some-filters-from-calculated-metric/32519 "2024-07-11T22:07:32Z")

</div>

In the table connected to the Quick Sight dashboard, the number of our daily orders is recorded. It is also specified which supplier each order is related to. I calculate the number of orders as follows: Number of Order…

---

## [Running sum distinct count issue](https://community.amazonquick.com/t/running-sum-distinct-count-issue/29694)

<div class="topic-metadata">

**Author:** [@fangfgao](https://community.amazonquick.com/u/fangfgao)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 8:34pm UTC](https://community.amazonquick.com/t/running-sum-distinct-count-issue/29694 "2024-05-14T20:34:44Z")

</div>

Issue 1: I calculated the running sum of distinct count, while the subtotal does not show any value for the total distinct count. The asin\_aggregated (aggregated) is the running sum of distinct value. Here is the calcu…

---

## [Group By結果のSUMについて](https://community.amazonquick.com/t/group-by-sum/28893)

<div class="topic-metadata">

**Author:** [@shichi](https://community.amazonquick.com/u/shichi)\
**Replies:** 4\
**Last updated:** [April 23, 2024, 4:20am UTC](https://community.amazonquick.com/t/group-by-sum/28893 "2024-04-23T04:20:50Z")

</div>

以下のようなデータでGroupByの結果をSUMするようなQuick Sightの関数はありますでしょうか？ 上記データをもとに日付、区分1、金額でGroup化して区分1毎に合計を表示したいと考えております。

---

## [Percentage of the total with distinct count and with condition](https://community.amazonquick.com/t/percentage-of-the-total-with-distinct-count-and-with-condition/27536)

<div class="topic-metadata">

**Author:** [@July](https://community.amazonquick.com/u/July)\
**Replies:** 4\
**Last updated:** [March 28, 2024, 4:37pm UTC](https://community.amazonquick.com/t/percentage-of-the-total-with-distinct-count-and-with-condition/27536 "2024-03-28T16:37:16Z")

</div>

Hi All, I have 2 fields (simulation\_insurance and hiring\_insurance) that have the value “Yes” and “No” Example: Customers who simulated a proposal with insurance and who purchased with insurance, and customers who sim…

---

## [Sum Over distinct field](https://community.amazonquick.com/t/sum-over-distinct-field/21317)

<div class="topic-metadata">

**Author:** [@crizar](https://community.amazonquick.com/u/crizar)\
**Replies:** 14\
**Last updated:** [December 25, 2023, 11:34am UTC](https://community.amazonquick.com/t/sum-over-distinct-field/21317 "2023-12-25T11:34:26Z")

</div>

I want to sum the quantity for each PO and ASIN, but only distinct ASINs. I’ve tried sum(min({quantity}, \[{po}, asin\])) but is not working. How can I do it?

---

## [Sum Over distinct fields](https://community.amazonquick.com/t/sum-over-distinct-fields/20779)

<div class="topic-metadata">

**Author:** [@galaugus](https://community.amazonquick.com/u/galaugus)\
**Replies:** 2\
**Last updated:** [November 10, 2023, 8:31am UTC](https://community.amazonquick.com/t/sum-over-distinct-fields/20779 "2023-11-10T08:31:08Z")

</div>

I want to sum over the countries, how many items I have (considering I have duplicates as below): Country Site Items FR DBG2 12 FR DBG2 12 FR DBY2 105 FR DBY8 35 FR DBY8 35 IT DAH1 51 IT DAH1 51 IT …

---

## [Table Value Inflating when Sum Aggregate is selected](https://community.amazonquick.com/t/table-value-inflating-when-sum-aggregate-is-selected/17831)

<div class="topic-metadata">

**Author:** [@hssoulie](https://community.amazonquick.com/u/hssoulie)\
**Replies:** 5\
**Last updated:** [October 31, 2023, 2:51pm UTC](https://community.amazonquick.com/t/table-value-inflating-when-sum-aggregate-is-selected/17831 "2023-10-31T14:51:31Z")

</div>

I’ve manually uploaded a table via csv into Quicksight from a survey engine export and am running into issues when trying to use the Sum Aggregate selection for my value field in my tables. For some reason it’s returning…

---

## [How to summarize a distinct field?](https://community.amazonquick.com/t/how-to-summarize-a-distinct-field/20390)

<div class="topic-metadata">

**Author:** [@July](https://community.amazonquick.com/u/July)\
**Replies:** 1\
**Last updated:** [October 25, 2023, 3:19am UTC](https://community.amazonquick.com/t/how-to-summarize-a-distinct-field/20390 "2023-10-25T03:19:52Z")

</div>

Hi All, What is the best practice for summing a distinct field? Ex: sum(distinctcount(id\_evt)) This calculated field does not work. Still, I need to calculate the percentage of the total for this field per day. Ex: …

---

## [Aggregation with SUM is not working](https://community.amazonquick.com/t/aggregation-with-sum-is-not-working/9596)

<div class="topic-metadata">

**Author:** [@adel\_safi](https://community.amazonquick.com/u/adel_safi)\
**Replies:** 3\
**Last updated:** [February 3, 2023, 11:42am UTC](https://community.amazonquick.com/t/aggregation-with-sum-is-not-working/9596 "2023-02-03T11:42:51Z")

</div>

Hello, I have a data source in which I have theses columns : name, month (as integer), md (float). for a given name, and a given month, I have many entries. I want to add another column (calculated fiels) in which I ca…

---

## [sumOver and sumIf](https://community.amazonquick.com/t/sumover-and-sumif/7112)

<div class="topic-metadata">

**Author:** [@roytaas](https://community.amazonquick.com/u/roytaas)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 9:14pm UTC](https://community.amazonquick.com/t/sumover-and-sumif/7112 "2022-10-25T21:14:25Z")

</div>

How can I sum the ‘calls’ conditionally on another column ‘price’. If price is 0, then I don’t want to sum the calls for a contract. I tried the sumOver function in combination with ifelse, but no success contract …

---

## [How to sum unique values?](https://community.amazonquick.com/t/how-to-sum-unique-values/3228)

<div class="topic-metadata">

**Author:** [@rribfilipe](https://community.amazonquick.com/u/rribfilipe)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 5:26am UTC](https://community.amazonquick.com/t/how-to-sum-unique-values/3228 "2022-04-26T05:26:09Z")

</div>

Hey guys, I have these two tables, wich i make a left join. But this join gives me duplicate values of HOURS, i need to sum the QTD and divide by the unique value of hours, how can i make this?

---

## [How to summarize sales for a product from transactions that contain another product?](https://community.amazonquick.com/t/how-to-summarize-sales-for-a-product-from-transactions-that-contain-another-product/2403)

<div class="topic-metadata">

**Author:** [@ArunSanthosh](https://community.amazonquick.com/u/ArunSanthosh)\
**Replies:** 1\
**Last updated:** [March 17, 2022, 1:55pm UTC](https://community.amazonquick.com/t/how-to-summarize-sales-for-a-product-from-transactions-that-contain-another-product/2403 "2022-03-17T13:55:52Z")

</div>

Customer question: I think what I want is currently not possible in Quick Sight but would like to check if I’m correct. We have data like (I’m only listing the interesting fields): transactionID | Productgroup | Pri…
