Microsoft KB Archive/297338

= FIX: Division by Zero Produces Zero as a Result for a Calculated Member =

Article ID: 297338

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft SQL Server 2000 Analysis Services

-



This article was previously published under Q297338



BUG #: 11526 (Plato7.x)



SYMPTOMS
An attempt to create a calculated member, which contains a divide by zero expression, produces a value of zero instead of a value of infinity.



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



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.



Step to Reproduce Behavior
To reproduce the behavior, use these steps:  Run the MDX sample application. Select the FoodMart 2000 database.  Type, and then run the following MDX statement: WITH MEMBER Measures.[New Total] AS 'Measures.[Avg Salary] / 0' SELECT {Measures.[Avg Salary], Measures.[New Total]} ON COLUMNS FROM HR                       

Additional query words: OLAP 0 divide by zero

Keywords: kbbug kbfix kbssas800sp1fix KB297338

-

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

© Microsoft Corporation. All rights reserved.