Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Not applicable

"This step results in a query that is not supported in DirectQuery mode." - on all queries



Pulling my hair out here.  No matter how simple the underlying table is, I always get this warning when I click on Applied Steps->Source.


I've tried pointing to a local SQL Server.  And an Azure SQL.  Same thing.  It's like Direct Query simply doesn't work anymore.


Anyone else getting this?




Regular Visitor

Hi there, I have SQL code in my advanced option. And I get the same warning 'results in a query ...' What's the connection between these two?




found the same in very simple queries - even ones that just call a custon function to create a local date table.


Finally I found the problem and a solution 🙂

If some queries have been created while some preview feature where on, those queries seem to get stuck into this issue,

I have switched off "Composite Models", "Direct Qerry for... " and after restart created a new query with the same code - and that runs then without the warning: "This step results in a query that is not supportedin DirectQuery mode"


Hope this helps.

You should explain how to switch off Composite Models etc.

Community Support
Community Support



See limited data transformations mentioned here. Also check if you've specified SQL statement in advanced options.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

March 2024 PBI Gallery Image

Power BI Monthly Update - March 2024

Check out the March 2024 Power BI update to learn about new features.