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
d_r_holm
Regular Visitor

Can't access the data source - DirectQuery & Oracle Database

Hi there, I have a user who was able to create a report in Power BI Desktop by connecting to an Oracle Database, and a Direct Query connection to two datasets.

  • It worked on her machine but when published to Power BI service most of her visuals get the "Can't display the visual" error. 
  • When I try to access it in Power BI Service I get the error ribbon "This report couldn't access the data source." 
  • When I open the report on my machine, Power BI desktop completely crashes while asking me for credentials for the Oracle database: 
  • for2.PNG

 

 

  • A gateway connection in the dataset for this report is up and running. 

I see now as I look into the gateway settings.... : 

for1.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

That it's probably the DirectQuery that's failing rather than the Oracle Database? 

 

Any ideas or suggestions to fix this? 

1 REPLY 1
Anonymous
Not applicable

Hi @d_r_holm ,

One possible cause is that the DirectQuery connection to the Oracle database is not configured correctly in the gateway settings. You need to make sure that the data source name, server name, and database name match exactly with the ones in Power BI Desktop. You also need to check that the gateway has the latest version of the Oracle client installed.

Another possible cause is that the DirectQuery connection to the two datasets is not supported by Power BI service. Power BI service only supports DirectQuery connections to certain data sources. If your datasets are not in the supported list, you might need to switch to import mode or use a different data source.

Dealing with errors - Power Query | Microsoft Learn

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

Troubleshoot DirectQuery models in Power BI Desktop - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.