KB2895694 - FIX: Query scope assignment works incorrectly after you run a ClearCache command in SSAS

Applies To
SQL Server 2012 Analysis Services SQL Server 2008 R2 Service Pack 2

This hotfix also applies to Microsoft SQL Server 2014 Analysis Services (SSAS 2014).

Symptoms

Consider the following scenario:

  • You define a SCOPE statement, and you give an assignment to the SCOPE statement in Microsoft SQL Server 2012 Analysis Services (SSAS 2012), SSAS 2008 R2, or SSAS 2014.
  • You run a ClearCache command to clear caches.
  • You run a Multidimensional Expressions (MDX) query.

In this scenario, the assignment is deleted, and a NULL value is returned for the assignment.

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014 /en-us/help/2931693

Cumulative Update 10 for SQL Server 2008 R2 SP2 /en-us/help/2908087

Cumulative Update 7 for SQL Server 2012 SP1 /en-us/help/2894115

About cumulative updates for SQL Server

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:

      

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 use the ClearCache command to clear caches, go to the following Microsoft TechNet website:

How to clear the Analysis Services caches