Forum Discussion
ae19bu
6 years agoFrequent Visitor
Aggregated Total using a Distinct Totals
Hello PBI Community, I need help to figure out how I can calculate a Aggregated Total using Distinct Totals. Specifically , the Denominator to calculate a Percent of total. Unfortunately , my ta...
- 6 years ago
I figured it out. Here is the formula that worked for me.
VAR Asum=
SUMX(SUMMARIZE(VALUES(Table1[AcctNum]),Table1[AcctNum],"ABCD",MIN(Table1[Amount])) ,[ABCD] )
RETURN
CALCULATE(Asum, ALL(Table1(Column1))
ae19bu
6 years agoFrequent Visitor
I figured it out. Here is the formula that worked for me.
VAR Asum=
SUMX(
SUMMARIZE(
VALUES(Table1[AcctNum])
,Table1[AcctNum]
,"ABCD"
,MIN(Table1[Amount])
) ,[ABCD] )
RETURN
CALCULATE(Asum, ALL(Table1(Column1))
RETURN
CALCULATE(Asum, ALL(Table1(Column1))