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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Eric7
Resolver II
Resolver II

Direct Query against Oracle: Getting error 'Could not load model' in Power BI Service

I have a dataset with one simple query using Direct Query to refresh from an Oracle database through  an On-Prem Gateway. In Import mode this works fine, but in Direct Query mode, I get this error when opening the report in Power BI Service:

 

Eric7_0-1654884911211.png

I have set up the Gateway connection for the Dataset in the Settings in Power BI Service.

 

Should Direct Query work with the same the on-prem gateway setup like it does in Import mode?

 

Erik

2 REPLIES 2
Anonymous
Not applicable

Hi @Eric7 ,

 

1. What mode of gateway are you using? If you are using a personal mode gateway, please change to a standard mode gateway, if the gateway is not the latest version, please update the gateway to the latest version.

vcgaomsft_0-1655275601892.png

 

2. Related topics and solutions.

Solved: Oracle | Gateway | Direct Query | Report couldn't ...

Solved: Retrieving Data Problem With Direct Query From Ora...

and new version of desktop download link.

Download Microsoft Power BI Desktop from Official Microsoft Download Center

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Shahfaisal
Solution Sage
Solution Sage

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Kudoed Authors