Assume that you have a Multidimensional Expressions (MDX) query that contains query parameters in Microsoft SQL Server 2012. You execute the MDX query in Microsoft SQL Server Data Tools (SSDT). In this situation, the execution of the MDX query takes longer than expected.
This issue occurs because repeated discover calls are made for the MDSCHEMA_Measures
Cumulative update information
Cumulative update 5 for SQL Server 2012 Service Pack 1
The fix for this issue was first released in Cumulative Update 5. For more information about how to obtain this cumulative update package for SQL Server 2012 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
Cumulative update package 5 for SQL Server 2012 Service Pack 1
Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 Service Pack 1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the MDSCHEMA_MEASURES
rowset, go to the following MSDN website: