FIX: Division by Zero Produces Zero as a Result for a Calculated Member (297338)



The information in this article 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.

MORE INFORMATION

Step to Reproduce Behavior

To reproduce the behavior, use these steps:
  1. Run the MDX sample application.
  2. Select the FoodMart 2000 database.
  3. 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
    						

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