KB4096258 - FIX: An unexpected exception occurs, SSAS crashes when you run a DAX function in SQL Server 2017

Applies to: SQL Server 2017 Developer on WindowsSQL Server 2017 Enterprise on WindowsSQL Server 2017 Enterprise Core on Windows


Assume that you have Microsoft SQL Server Analysis Services (SSAS) installed on SQL Server 2017. You run a particular Data Analysis Expressions (DAX) function like SUMMARIZECOLUMNS with a filter, for example: 

In this scenario, SSAS may crash, and you receive the following error message:

An unexpected exception occurred.

Additionally, a dump file is generated.

Note The process will succeed when you use the same DAX query with another filter.


This issue is fixed in the following update for SQL Server:

       Cumulative Update 7 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 terminology that Microsoft uses to describe software updates.