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
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:
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 terminologythat Microsoft uses to describe software updates.