Forum Discussion
SUMX CALCULATION TOTAL
- 8 years ago
Hi,
Try this
=CALCULATE(SUM([Open Amount]),ALL(Data[CustomerID]))
Hope this helps.
do you want to create calculated column or a measure?
from top of my head I'd say measure would look like that:
TOTAL OPEN AMOUNT = CALCULATE(SUM(TableName[Open Amount],ALL(TableName[Open Amount]))
not sure about calculated column though, I hardly ever use them
- Anonymous8 years agoNot applicable
Hello Tachu,
Thank you for your input but i still dont solve the issue here. Maybe i have to give you another example. now there are two customerid and difference invoiceid. I would like to avoid that customerid 1 and 2 will get the same amount in the column TOTAL OPEN AMOUNT.
I need to get the following result for creating the TOTAL OPEN AMOUNT. Which dax formula should i now create?
Thanks in advanced
- Ashish_Mathur8 years ago
Super User
Hi,
Try this
=CALCULATE(SUM([Open Amount]),ALL(Data[CustomerID]))
Hope this helps.
- mattbrice8 years ago
Solution Sage
Are you doing this in Excel Power Pivot or Power BI Desktop? What do you have on rows/columns?
- Anonymous8 years agoNot applicable