| MDX-Why simple calculated measure works much slower than real measure. |
| Written by Vidas Matelis | |||
| Tuesday, 17 April 2007 19:23 | |||
|
Q: My simple calculated measure works much slower than real measure. What should I do? A: If you have calculated measure that simply redefines actual measure and you can see big performance difference, it could be that you need to define NON_EMPTY_BEHAVIOR for this calculated measure. Lets say you created calculated measure: CREATE MEMBER CURRENTCUBE.[Measures].[CalcMeasure] AS [Measures].[Actual Measures]; If such calculated measure is much slow, change you calc measure definition to:
NON_EMPTY_BEHAVIOR property helps query optimizer to choose not to do any calculation on cells that are empty. You have to be very careful when defining this property. Please read this article by Mosha Pasumansky before starting to use NON_EMPTY_BEHAVIOR. Also, some additional information can be find in this MSDN forum thread.
|
Most read
- How to install Adventure Works SQL DW and Analysis Services 2005/2008 sample database and project
- MDX-How can I get Last (Previous) Year to Date (YTD) values?
- Analysis Services 2005 error: Errors in the metadata manager. The attribute with ID of ., Name of . refer
- MDX-How do you format or round KPI expression value?
- MDX-How do you calculate monthly average of one year, optionally including empty months?
Top Rated
- How to install Adventure Works SQL DW and Analysis Services 2005/2008 sample database and project
- Analysis Services 2005 XMLA script to add/drop existing partition aggregate
- Why In Reporting Services MDX query disappears after leaving "Data" tab.
- When accessing calculation tab in BIDS I am getting error Unexpected error occurred
- In an MDX query how can I get the top 3 sales years based on the order quantity?
- What TCP port SQL Server Analysis Services 2005 uses
- How to calculate YTD monthly average and compare it over several years for the same selected month
- Analysis Services 2005 error: Errors in the metadata manager. The attribute with ID of ., Name of . refer




