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 Windows SQL Server 2017 Enterprise on Windows SQL Server 2017 Enterprise Core on Windows SQL Server 2017 Standard on Windows

Symptoms

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:

Note

  • summarizecolumns
  • (
    filter('Date of First Production','Date of First Production'[Month Number] = 1),
    "X",'Production Work Orders'[Average of Production Start Delay Minutes (Production Work Orders)]
    )

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

Note

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.

Resolution

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

Cumulative Update 7 for SQL Server 2017

About cumulative updates for SQL Server:

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:

Latest cumulative update for SQL Server 2017

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