KB2897265 - FIX: "Invalid column name" error when you run some MDX queries against ROLAP partitions in SSAS 2012 or SSAS 2014

Applies To
SQL Server 2012 Analysis Services

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

Symptoms

When you try to run some Multidimensional Expressions (MDX) queries against Relational Online Analytical Processing (ROLAP) partitions in Microsoft SQL Server 2012 Analysis Services (SSAS 2012) or SQL Server 2014 Analysis Services (SSAS 2014), you receive the following error message:

Note

OLE DB error: OLE DB or ODBC error: Invalid column name '<ColumnName>'.; 42S22

The issue occurs when the following conditions are true:

  • The MDX query projects on non-root levels of a parent/child hierarchy.
  • The WHERE clause contains predicates on the members of the parent/child hierarchy.

      

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 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.