Symptoms
Assume that you run Multidimensional Expressions (MDX) query in Microsoft SQL Server 2012 Analysis Services (SSAS 2012). There is a user-defined hierarchy with unary operators. The unary operators are on members of level+1, and the attribute hierarchy has only one level (the IsAggregatable property is set to False). In this situation, you receive the following error message:
Internal error: An unexpected error occurred.
Resolution
This issue was first fixed in the following cumulative update of SQL Server.
Cumulative Update 4 for SQL Server 2012 SP2 /en-us/help/3007556
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.