FIX: “DirectQuery may not be used with this data source” error when you browse a Direct Query model in SQL Server

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


Consider the following scenario:

  • You use a Microsoft SQL Server 2017 database as a data source for a tabular Direct Query model in SQL Server Analysis Service 2016.
  • The target SQL database is in an older compatibility level, such as SQL Server 2016 level.

In this scenario when you browse the Direct Query model, you receive the following error message:

 

Resolution


This fix is included in the following cumulative updates for SQL Server:

Cumulative Update 7 for SQL Server 2017

Cumulative Update 8 for SQL Server 2016 Service Pack 1

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