Forum Discussion
Vinnie
2 years agoHelper I
Optimize DAX query
Hi all, I am trying to optimize the following DAX query: CALCULATE(
SUMX(
SUMMARIZECOLUMNS(
'Loan balance history'[source loan part id],
"AverageOutstandi...
sjoerdvn
2 years agoSolution Sage
does it perform better if you rewrite your measure like below?
CALCULATE(
SUMX(
VALUES('Loan balance history'[source loan part id]),
CALCULATE(AVERAGE('Loan balance history'[outstanding amount]))
)
),
USERELATIONSHIP(Calender[Date], 'Loan balance history'[Date])
)