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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors