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:
- 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.
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:
Cumulative Update package 6 for SQL Server 2008 R2
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:
The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released
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:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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:
Description of the standard terminology that is used to describe Microsoft software updates