KB4034789 - FIX: An unexpected exception error occurs when an XIRR measure processes too many records in SSAS 2016 or 2017

Applies To
SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use) SQL Server 2016 Service Pack 1 SQL Server 2017 on Windows (all editions)

Symptoms

Assume that you create a Data Analysis Expressions (DAX) measure by using the XIRR function in Microsoft SQL Server 2016 or 2017 Analysis Services (SSAS). When you open the measure in Power Pivot in Excel 2016 or Power BI Desktop, and try to process too many records (for example: more than 400 records), you may receive an error message that resembles the following:

Note

An unexpected exception occurred.

Resolution

This issue is fixed in the following cumulative updates for SQL Server:

Cumulative Update 1 for SQL Server 2017

Cumulative Update 8 for SQL Server 2016 RTM

Cumulative Update 6 for SQL Server 2016 SP1

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

Latest cumulative update for SQL Server 2016

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.