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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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