FIX: No records are returned when you run an MDX query after restarting SSAS 2016 and 2017

Applies to: Microsoft SQL Server 2016 Service Pack 1SQL Server 2016 DeveloperSQL Server 2016 Enterprise

Symptoms


Assume that you use Microsoft SQL Server 2016 and 2017 Analysis Services (SSAS) in Tabular mode. When you run a Multidimensional Expressions (MDX) query after restarting SSAS service, the execution result does not return any record. However, when you re-execute the same query, the execution result returns records.

Note: If you hit this bug, the MDX query should contain the filter condition. For example, Filter(Set_Expression, Logical_Expression).

Resolution


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

      Cumulative Update 10 for SQL Server 2017

      Cumulative Update 3 for SQL Server 2016 SP2

       Cumulative Update 10 for SQL Server 2016 SP1

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.