Microsoft KB Archive/326827

= FIX: Calculated Member Causes Formatting of All Measures to Match First Measure =

Article ID: 326827

Article Last Modified on 2/19/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Analysis Services

-



This article was previously published under Q326827



BUG #: 13582 (Plato7x)



SYMPTOMS
When a calculated member is defined on a dimension other than the Measures dimension, and is selected as part of a MDX query, the formatted value displayed for members of the Measures dimension for the calculated member are displayed with the format of the first Measure in the MDX query result.

For example, the following query returns the [Sales Count] for the Subtotal member of the Customers dimension with the format defined for [Store Sales].

WITH MEMBER [Customers].[Subtotal] AS ' SUM({ [Customers].[All Customers] } ) ' SELECT { [Measures].[Store Sales], [Measures].[Sales Count] } ON COLUMNS , { [Customers].[All Customers], [Customers].[Subtotal] } ON ROWS FROM [Sales]

The output is:

If the first Measure returned by the MDX query is a calculated member that returns a string, then all of the following members of the Measures dimension for the calculated dimension member are blank.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. 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

NOTE: The following hotfix was created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time    Version         Size              File name

07/10/2002  11:24   8.0.657.0       1,782,340 bytes   Msmdsrv.exe 07/10/2002  12:26   8.0.657.0       2,032,208 bytes   Msolap80.dll 04/18/2001  01:23   2000.80.382.0     815,676 bytes   Sqldata.dll 07/10/2002  12:26   2000.80.534.0     590,396 bytes   Sqlsort.dll NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3.

Additional query words: Formatting Formatted Value Calculated Member

Keywords: kbsqlserv2000sp3fix kbbug kbfix KB326827

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.