Forum Discussion
heidibb
Helper IV
2 years agoHelp using the CALCULATE with FILTER ALL
Hello, I am struggling with the performance of this calculation -- it is causing my visuals to spin and is using up a lot of resources. Success LY UG = CALCULATE ( [% Final Grade Success]...
sevenhills
Super User
2 years agoCurious what would you get if you do this:
Success LY UG = CALCULATE (
[% Final Grade Success],
[% Final Grade Success],
filter(all(sp_TermData),
sp_TermData[TermAxis] = max(sp_TermData[TermAxis])-6)
sp_TermData[TermAxis] = max(sp_TermData[TermAxis])-6)
&& sp_TermData[TermAcademicLevelCode] = "UG"
)
)
)
)
if this work,s then the issue is you are trying to do filter with "all" twice and it has to do for each ...
Optional: If the above does not work, You can try to see the DAX generated (sometimes helps), using Performance Analyzer and click the refresh button.
View Tab > Performance Analzer
Home Tab > Refresh
🙂