The fix also applies to Microsoft SQL Server 2014 Analysis Services (SSAS 2014).
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:
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.
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
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:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.