Data Science

What are the most reliable methods to connect Power BI Desktop to an on-premise Oracle Database?

SA Asked by Sarah Jenkins · 14-03-2025
0 upvotes 14,395 views 0 comments
The question

I am currently trying to integrate our Oracle 19c database with Power BI for some high-level data visualization, but I keep hitting "Provider not found" errors. I’ve installed the 64-bit ODAC, but it's still not syncing correctly. Does anyone have a definitive, step-by-step guide on configuring the TNSNames.ora file or using the Oracle Data Provider for .NET to ensure a stable connection?

3 answers

0
RO
Answered on 15-01-2025

Sometimes using the 'Easy Connect' syntax (ServerName:Port/ServiceName) in the server field helps bypass TNSNames issues entirely if you don't want to mess with the .ora configuration files.

SA 18-06-2025

I agree with Robert. Using the DirectQuery mode with Easy Connect is often much faster for real-time reporting, as it avoids the headache of maintaining TNS files across multiple developer machines.

0
KA
Answered on 22-05-2025

To establish a successful connection, you must first ensure that the Oracle Client software matches your Power BI architecture—usually 64-bit. After installing the Oracle Data Access Components (ODAC), you need to define your connection string in the TNSNames.ora file located in your network admin folder. In Power BI, select 'Get Data', choose Oracle, and enter the Server name exactly as it appears in your TNS file. If you are using an On-premises Data Gateway for the Power BI Service, the same drivers and TNS configurations must be mirrored on the gateway machine to allow for scheduled refreshes.

0
MI
Answered on 25-05-2025

Have you checked if your environment variables are correctly pointing to the Oracle Home directory where the driver is installed? Often, Power BI fails to find the provider simply because the PATH variable hasn't been updated to include the bin folder of your client installation.

JA 27-05-2025

Michael, that's a great point. I checked the PATH variables and realized I had an old 32-bit client path taking precedence over the new 64-bit one. After rearranging the order in the System Environment Variables and restarting Power BI, the 'Oracle' option finally appeared in the data source list without the provider error. It seems Power BI is very sensitive to the driver's bitness.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

World globe icon Country: Canada

Book Free Session