Forum Discussion
BillyT_350
8 years agoHelper V
Slow Measures
I have report that analyzes data on customers. Data is filtered by three slicers, one for customer, another for data date, and the third for internal business unit (responsible for the customer). ...
- Anonymous8 years ago
With this measure, you are calling, and calculating the [Scr%_ApptDesir] measure 7 times...it only needs to be calculated once.
try this:
Grd_ApptDesir = VAR Score = [Scr%_ApptDesir] RETURN SWITCH ( TRUE (), Score >= .9, "A", Score >= .8, "B", Score >= .7, "C", Score >= .6, "D", "F" )
Anonymous
8 years agoNot applicable
With this measure, you are calling, and calculating the [Scr%_ApptDesir] measure 7 times...it only needs to be calculated once.
try this:
Grd_ApptDesir =
VAR Score = [Scr%_ApptDesir]
RETURN
SWITCH ( TRUE (),
Score >= .9, "A",
Score >= .8, "B",
Score >= .7, "C",
Score >= .6, "D",
"F"
)pschn1993
3 years agoFrequent Visitor
I know this is an older post, but I am having the same issue with my report. Is my below measure more complex than it needs to be? I have several measures within my report, but it seemed to slow down quite a bit after adding this one.