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
Anonymous
Not applicable

Oracle DirectQuery Error

Hello community,

 

I currently have an oracle database and our IT infrastructure department has set up an ODBC connector to access this database. This works fine. I chose ODBC from the list in PowerBI desktop and it pulls data as required. However, ODBC does not support DirectQuery and I have a requirement to construct a streaming (real-time) report.

 

I have all the necessary information on the oracle server. 

HostName, Port, ServiceName, UserName and its Password. However, when i try to connect using the Oracle Database connector, it detects the server alright but when I enter the username and password, it gives the following error message:

 

dilipraghu_0-1596217925872.png

 

I tried looking up the error ID and similar posts here in the community but couldn't find anything useful enough to help me find a solution.

Has anyone encountered this problem before/has a solution to this ?

 

Regards,

Dilip

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Both on your desktop and on the gateway can you confirm that your dataset uses the native Oracle connector and not the ODBC connector? TNSNAMES.ORA needs to be up to date on both, in the right location etc.

 

Use TNSPing or Toad or whatever to validate the connection.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Both on your desktop and on the gateway can you confirm that your dataset uses the native Oracle connector and not the ODBC connector? TNSNAMES.ORA needs to be up to date on both, in the right location etc.

 

Use TNSPing or Toad or whatever to validate the connection.

Anonymous
Not applicable

Thanks @lbendlin for your answer. It was indeed an issue with ODAC. I installed the latest version and confirmed the correct configuration of TNSNames.ORA and it works perfectly now. 

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.