FIX: Query Using NON EMPTY Clause Fails for Measures with a Large Cellset (296378)



The information in this article applies to:

  • Microsoft SQL Server 2000 Analysis Services

This article was previously published under Q296378
BUG #: 11938 (Plato7.x)

SYMPTOMS

The measures column may be returned as empty when executing an multidimensional expression (MDX) query against a virtual cube that returns a large cellset. This occurs when the MDX query includes a NON EMPTY clause and specifies only the measures dimension on one axis of the query.

RESOLUTION

To resolve this problem, obtain the latest service pack for the Microsoft SQL Server 2000 (the Analysis Services Components - Sql2kasp1.exe). For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

WORKAROUND

This behavior does not occur when the query uses a CROSSJOIN between the measures dimension and at least one other dimension.

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000 Analysis Services version 8.0. This problem was first corrected in the Analysis Services Components of Microsoft SQL Server 2000 Service Pack 1.

MORE INFORMATION

To reproduce this behavior, run the following MDX query against the Warehouse and Sales virtual cube:
SELECT NON EMPTY [Customers].[Name].MEMBERS ON ROWS, NON EMPTY [Measures].MEMBERS ON COLUMNS FROM [Warehouse and Sales]
				
(c) Microsoft Corporation 2001, All Rights Reserved. Contributions by John Desch, Microsoft Corporation.


Modification Type:MinorLast Reviewed:4/24/2003
Keywords:kbBug kbfix kbssas800sp1fix KB296378 kbAudDeveloper