You are currently offline, waiting for your internet to reconnect

FIX: Ragged hierarchy members cannot be referenced by using the "Name Style 2" method in an MDX query for SQL Server 2008 R2 Analysis Services


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.
SYMPTOMS
Consider the following scenario:
  • You install Microsoft SQL Server 2008 R2 Analysis Services (SSAS) on a computer.
  • You create a cube in the SSAS instance that contains a ragged hierarchy.
  • You use a client application to connect to the SSAS instance, and then you set the MDX Unique Name Style property to "2" in the connection string. This property uses the following name path algorithm:
    [dim].[n1].[n2]
  • You write an MDX query to reference the ragged hierarchy members by using the Name Style 2 method.

In this scenario, the query does not return items for the referenced member.
RESOLUTION

Cumulative update information

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 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 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released

WORKAROUND
To work around this issue, use the Name Style 1 method. This method can use the following Key path algorithm to reference the ragged hierarchy members in the MDX query:
[dim].&[k1].&[k2]
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For more information about how to work with ragged hierarchies, visit the following Microsoft Developer Network (MSDN) website:For more information about the Unique Name Style property, visit the following Microsoft Developer Network (MSDN) website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 2496707 - Last Review: 02/21/2011 16:54:00 - Revision: 1.0

Microsoft SQL Server 2008 R2 Analysis Services

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB2496707
Feedback