Forum Discussion

giangtongle's avatar
giangtongle
Frequent Visitor
4 years ago
Solved

Incorrect Grand total?

Hi, 

 

I know this is somehow a common question. I found some anwsers and tried with my dataset but not successed. Please help. I have table as below with Item code, Item name and its price. The data set has multiple-duplicated records. I wanted to create a measure that will calcuate price/item and show total of price of all items as Grand total. Measure = Sum(Price)/CountRows(Table). I got correct price/item, but not Grand  total. Please help. Thanks.

 

#       Item         Price

1A2,500,000
2B8,711,557
3C8,757,010
4D4,650,000
5E14,200,000
6F16,500,000
1A2,500,000
2B8,711,557
3C8,757,010
4D4,650,000
5E14,200,000
4D4,650,000
5E14,200,000
6F16,500,000
1A2,500,000
2B8,711,557
3C8,757,010

 

(The grand total should be a sum of all price/item: $55,318,567)

4 Replies