One obvious optimization to try is the use of NonEmpty() in lieu of
Filter(), as explained by Richard Tkachuk here:
http://sqlserveranalysisservices.com...ormance%20Hint
sv1.htm
...
Use NonEmpty Function
The NonEmpty function (new in SQL Server Analysis Services 2005) is
optimized for removing empty tuples. So instead of doing this to get the
customers who bought an Xbox,
Filter(Customer.Name.members, not IsEmpty( ([Measures].[Unit Sales],
[Product].[Name].[Xbox])
Do this:
NonEmpty (Customer.Name.members, ([Measures].[Unit Sales],
[Product].[Name].[Xbox]))
...
There is an entry in Chris Webb's blog discussing relative time:
http://spaces.msn.com/cwebbbi/blog/cns!7B84B0F2C239489A!654.entry
Quote:
|
Handling Relative Time Periods
|
...
A comment on this entry references another article:
http://www.databasejournal.com/featu...le.php/3518771
Quote:
|
Introduction to MSSQL Server Analysis Services: Mastering Enterprise BI:
|
Relative Time Periods in an Analysis Services Cube, Part II
By William Pearson
...
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***