Hi Guys
I'm about to apply one of the below YTD calculations to about 100 measures. Before I do, I'd like to run it past you geniuses because I'll potentially have all of these measures calculating on 1 worksheet using CUBE formulas. So which of the below two would calculate fastest? Are there any better methods? Is there anything detrimental that I may encounter as a result?
vs
vs ... anything better?
I'm about to apply one of the below YTD calculations to about 100 measures. Before I do, I'd like to run it past you geniuses because I'll potentially have all of these measures calculating on 1 worksheet using CUBE formulas. So which of the below two would calculate fastest? Are there any better methods? Is there anything detrimental that I may encounter as a result?
Code:
=CALCULATE (
[Gross Services],
FILTER (
ALL ( fct_Query),
'fct_Query'[PERIOD] <= MAX ( 'fct_Query'[PERIOD] )
)
)
vs
Code:
=CALCULATE (
[Gross Services],
FILTER (
ALL ( fct_Query[B][PERIOD][/B]),
'fct_Query'[PERIOD] <= MAX ( 'fct_Query'[PERIOD] )
)
)
vs ... anything better?