Microsoft distributes Microsoft SQL Server 2012 Service Pack 1 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 2012 Service Pack 1 fix release.

Symptoms

Assume that you apply Service Pack 1 (SP1) for Microsoft SQL Server 2012 on an instance of SQL Server 2012, or you have Microsoft SQL Server 2008 R2 on your computer. When you try to run a Multidimensional Expressions (MDX) query, the query fails and you receive an error message that resembles the following:

The MDX function failed because the coordinate for the 'AttributeName' attribute contains a set.

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Cumulative Update 3 for SQL Server 2012 SP1The fix for this issue was first released in Cumulative Update 3. For more information about how to obtain this cumulative update package for SQL Server 2012 SP1, click the following article number to view the article in the Microsoft Knowledge Base:

2812412 Cumulative update package 3 for SQL Server 2012 Service Pack 1Note 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 2012 SP1 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:

2772858 The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released

Status

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

More Information

To reproduce this issue, run the following query:with member measures.test as 1SELECT { measures.test, [Measures].[Internet Sales Amount] } ON COLUMNS,NON EMPTY [Product].[Model Name].[Model Name].members* [Product].[size].[size].members ON ROWSFROM ( SELECT {[Product].[Product Line].&[M]} ON COLUMNS FROM [Adventure Works])WHERE ( [Product].[Product Line].[All Products] ) Based on the previously mentioned query, the issue is more likely to occur when the following conditions are true:

  • The query runs in cold cache, or runs after the data cache is clear after a ClearCache XMLA command.

  • The MDX query selects more than one measure, and at least one of the measures is a base measure from a measure group. In the previously mentioned query, [Measures].[Internet Sales Amount] comes from a measure group.

  • The query has a subselect of a single member.

  • The ALL slice is above the granularity of an attribute in the axis. For example, the All slice is selected for the [Product].[Product Line] attribute when there is a [Product].[Model Name] attribute in the axis.

  • The axis needs to cross join some other attributes from the dimension. In the previously mentioned query, there is more than one attribute in the row axis.

References

For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:

935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 Naming schema for Microsoft SQL Server software update packages 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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.