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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
dkernen2
Helper II
Helper II

Mixed Model - DirectQuery may not be used with this data source

I am having an issue with a mixed model semantic model.  The error I received is this:

Error fetching data for this visual

 

DirectQuery error: DirectQuery may not be used with this data source - please consider moving to a supported data source or upgrading the SQL Server data source to the latest available version.

 

Activity IDd389f84e-c533-4c13-9537-ba84fb87ece1

Request ID6259b656-8c6d-4118-be14-f2e38e01096a

Correlation IDe6c92917-5197-3991-13fd-d74faf419079

TimeMon Jun 23 2025 09:15:20 GMT-0500 (Central Daylight Time)

Service version13.0.26140.37

Client version2506.3.24641-train

Cluster URIhttps://wabi-south-central-us-redirect.analysis.windows.net/

 

All of my tables are from the same database in Snowflake.  Only one is Direct Query (and it is a tiny table); the rest are Imported (daily).  I don’t understand why the table and visuals work perfectly in Desktop but do not work in the PBI Service.  Can you please help?

5 REPLIES 5
v-dineshya
Community Support
Community Support

Hi @dkernen2 ,

Thank you for reaching out to the Microsoft Community Forum.

 

Please check below things to fix the issue.

 

1. Power BI Service requires an On-premises data gateway for DirectQuery connections to Snowflake. Even though Snowflake is cloud-based. Check the gateway is installed and running. It’s configured to connect to Snowflake. The credentials used in the gateway match those used in Desktop.

 

2. Power BI introduced a new implementation of the Snowflake connector. If your model was built using the older version, it might not behave the same in the Service. check below thing.

Open Power BI Desktop. Go to File > Options and settings > Options > Preview features. Check if the new Snowflake connector is "enabled".

 

vdineshya_0-1750748961271.png

 

 

3. Power BI Service has stricter rules for mixed models. Even if only one table is DirectQuery, the entire model must comply with DirectQuery constraints. Some features or transformations that work in Desktop may not be supported in Service.

 

4. Ensure that the Power BI Service account has access to Snowflake and there are no IP restrictions or firewall rules blocking the connection.

 

5. Try rebuilding the semantic model using the new Snowflake connector and re-publishing it. Sometimes, legacy metadata can cause compatibility issues.

 

Please refer Microsoft Official document and community threads.

https://learn.microsoft.com/en-us/power-query/connectors/snowflake

Solved: DirectQuery error: DirectQuery may not be used wit... - Microsoft Fabric Community

https://community.fabric.microsoft.com/t5/Desktop/Power-BI-Service-Snowflake-Error/td-p/4714501

 

If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.

Thank you

Thank you for your reply.  I have been testing, which is the reason for my tardy reply.  It appears I may have an issue on my hard drive, so I am having to wipe my existing machine.  I have tested the functionality with other laptops and have not received errors.  I was able to connect and use the DirectQuery without the gateway.  One necessary step was to disable the Snowflake connector preview issue.

Hi @dkernen2 ,

 

As you mentioned in the previous reply,  you are able to connect and use the DirectQuery without the gateway.  And if you have any further query do let us know.

 

If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.

 

Regards,

Dinesh

 

MasonMA
Advocate III
Advocate III

Hi, it sounds like a mixed storage mode issue, would you be able to use Import mode for your small table that is on DirectQuery and give it another test. Not sure if this would fix issue, but it may be worth giving a try. 

Thank you for your reply.

I cannot.  I need that one table to be "live" (DirectQuery) data.  Any other thoughts?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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