FIX: Incorrect result is returned when you run an MDX query that contains a DRILLTHROUGH statement in SSAS

Applies to: SQL Server 2008 R2 Service Pack 2SQL Server 2008 Service Pack 3SQL Server 2012 Analysis Services

The fix also applies to Microsoft SQL Server 2014 Analysis Services (SSAS 2014).

Symptoms


When you run a Multidimensional Expressions (MDX) query that contains a DRILLTHROUGH statement in Microsoft SQL Server 2008 Analysis Services (SSAS 2008), SQL Server 2008 R2 Analysis Services (SSAS 2008 R2), SQL Server 2012 Analysis Services (SSAS 2012), or SQL Server 2014 Analysis Services (SSAS 2014), the result may be incorrect. Specifically, the returned amount is multiplied incorrectly by the number of rows that is returned by the DRILLTHROUGH statement.

Resolution


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

Cumulative Update 1 for SQL Server 2014

Cumulative Update 9 for SQL Server 2012 SP1

Cumulative Update 11 for SQL Server 2008 R2 SP2

Cumulative Update 15 for SQL Server 2008 SP3

Status


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

Workaround


To work around this issue, follow these steps:
  1. Open the OLAP\Config\msmdsrv.ini file.
  2. Locate the DisableDCSliceIndex parameter.
  3. Change the value of the parameter from 0x0 to 0x4.
Notes
  • The parameter is applied dynamically. So SSAS 2008, SSAS 2008 R2, SSAS 2012, or SSAS 2014 does not have to be restarted.
  • You may experience performance issues if you use this workaround.