DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2501558 - Last Review: February 21, 2011 - Revision: 1.0

Microsoft distributes Microsoft SQL Server 2008 R2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release.

On This Page

SYMPTOMS

Consider the following scenario:
  • You install Microsoft SQL Server 2008 R2 Analysis Services (SSAS 2008 R2).
  • You create non-overlapping partitions in a measure group. The measure group contains a measure that uses the DistinctCount function.

    Note Non-overlapping partitions are partitions that have non-overlapping value ranges.
  • You define aggregations on the non-overlapping partitions.
  • You run a multidimensional expression (MDX) query that queries the DistinctCount measure.
In this scenario, the DistinctCount measure may return incorrect values. For example, the returned value may be double or triple the actual value.

CAUSE

This issue occurs because the usage of an aggregation in the MDX query causes SSAS 2008 R2 to incorrectly scan the aggregation multiple times. This issue only occurs when you set up non-overlapping partitions that contain the DistinctCount measure.

RESOLUTION

Cumulative update information

SQL Server 2008 R2

The fix for this issue was first released in Cumulative Update 6. For more information about how to obtain this cumulative update package for SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
2489376  (http://support.microsoft.com/kb/2489376/ ) Cumulative Update package 6 for SQL Server 2008 R2
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981356  (http://support.microsoft.com/kb/981356/ ) The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft SQL Server 2008 R2 Analysis Services
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2501558
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support