Forum Discussion
DrillDownBI
Helper I
1 year agoMeasure Total, again
Hi, this is my third day struggling with measure total, time to get some help. I have 3 columns in my matrix tabel that should be summarized row by row, and then ofcource sum up everything in the t...
- 1 year ago
I finally find a solution for this.
I use summarize in a temp table and then sumx like below DAX code.
VAR _stdInflation =Summarize('Calendar', --Table'Calendar'[Period], --Group by"@value", --name of expressionCALCULATE(SUM(FactTable[ActualPrel]),SAMEPERIODLASTYEAR('Calendar'[Period])) ,"@value2",CALCULATE(SUM(Summary[Inflation])))
DrillDownBI
Helper I
1 year agoI finally find a solution for this.
I use summarize in a temp table and then sumx like below DAX code.
VAR _stdInflation =
Summarize(
'Calendar', --Table
'Calendar'[Period], --Group by
"@value", --name of expression
CALCULATE(
SUM(FactTable[ActualPrel]),
SAMEPERIODLASTYEAR('Calendar'[Period])
) ,
"@value2",
CALCULATE(
SUM(Summary[Inflation])
)
)