Hi
Thank you, it solves the problem,
But it raises a new one, performance. The query gets very slow , from 5
seconds to 2 minutes when I uncheck the non-empty behavior.
Is there any way to solve this?
Thanks
-Henrik.
"Deepak Puri" <deepak_puri (AT) progressive (DOT) com> skrev i en meddelelse
news:u1l3w15IHHA.5000 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Quote:
Maybe the problem is not in the calculation expression itself (which
looks fine), but in its NON_EMPTY_BEHAVIOR. If you set that to:
[Measures].[Qty], you should clear it, because the YTD is not
necessarily empty (as you observed) whenever that time member is.
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com *** |