Sign in with Microsoft
Sign in or create an account.


Assume that you run a Multidimensional Expressions (MDX) query in block mode in Microsoft SQL Server 2012 Analysis Services (SSAS 2012). The MDX query returns wrong results when the following conditions are true:

  • The model contains unary operators on one or more hierarchies.

  • The query involves more than one member from the same level of the unary operator hierarchy.

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:


To work around this issue, run the query in block mode by setting one of the following flags to 1:

  • CellByCellCalculationMode

  • CellByCellCalculationModeForUnaryOperatorAndSemiAdditiveMeasure


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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!