KB2975743 - FIX: Incorrect result and exception occur when you use MDX query to do session cube grouping in SSAS

Applies To
SQL Server 2008 R2 Service Pack 2 SQL Server 2012 Business Intelligence SQL Server 2012 Analysis Services SQL Server 2014 Business Intelligence - duplicate (do not use)

Symptoms

Assume that you have a user hierarchy with Relational Online Analytical Processing (ROLAP) partition in Microsoft SQL Server 2008 R2 Analysis Services (SSAS 2008 R2), SQL Server 2012 Analysis Services (SSAS 2012), or SQL Server 2014 Analysis Services (SSAS 2014). You can create session cube successfully. When you execute Multidimensional Expressions (MDX) query on the created session cube that involves the grouping level(s) directly or indirectly, you may encounter the following issues:

  • The query fails, and you receive the following exception from the session cube:

    Note

    Internal error: An unexpected error occurred (file 'mdpartitionrolap.cpp', line 948, function 'MDPartitionRolapMapper::AddRolapCondition').
    Execution complete

  • The query returns null measure data, and there is no any exception.

Resolution

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

Cumulative Update 3 for SQL Server 2012 SP2 /en-us/help/3002049

Cumulative Update 4 for SQL Server 2014 /en-us/help/2999197

Cumulative Update 12 for SQL Server 2012 SP1 /en-us/help/2991533

Cumulative Update 13 for SQL Server 2008 R2 SP2 /en-us/help/2967540

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.