When you run a Multidimensional Expressions (MDX) query in Microsoft SQL Server 2005 Analysis Services, you may receive incorrect results. This issue occurs when the following conditions are true:
- The MDX query contains the Crossjoin function.
- The NON EMPTY keyword is specified in the MDX query.
- The MDX query queries measures that are aggregated by the SUM and LastNonEmpty aggregation functions.
This issue does not occur in Microsoft SQL Server 2008.
Service pack information
To resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
How to obtain the latest service pack for SQL Server 2005
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 3.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the standard terminology that is used to describe Microsoft software updates