FIX: Designing a parameterized DAX query in Report Builder Query Designer generates an exception in SSAS

Applies to: SQL Server 2017 DeveloperSQL Server 2017 EnterpriseSQL Server 2017 Enterprise Core


Assume that you have Microsoft SQL Server Analysis Services (SSAS) installed in an instance of SQL Server. You design a parameterized Data Analysis Expressions (DAX) prepare (<Content>Schema</Content>) query that's generated in the Query Designer of Report Builder in SQL Server Reporting Services (SSRS). When you execute the query, you may receive internal error messages that resembles the following:

Note The same query embedded in SSRS reports runs as expected.


This fix for this issue is included in the following update for SQL Server:

Cumulative Update 13 for SQL Server 2017


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


Learn about the standard terminology Microsoft uses to describe software updates.