Symptoms
You upgrade to SQL Server 2017. When you run any of your existing Data Analysis Expressions (DAX) queries in SQL Server 2017, you may notice a significant decrease in performance. The decrease in performance scales with the size of the DAX query after all the measures have been replaced with their corresponding expressions.
Resolution
This fix is included in the following update for SQL Server:
Cumulative Update 8 for SQL Server 2017
Note This fix limits costly analysis only to queries that contain virtual objects such as query scope columns.
About SQL Server builds
Each new build for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the standard terminology that Microsoft uses to describe software updates.