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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Hayden_RP
New Member

Difficulties connecting Oracle SQL Developer to Power BI

Hello, I'm trying to get a project for work running but am very new to Power BI. I receive an error that reads "Details: "Oracle: ORA-12154: TNS:could not resolve the connect identifier specified"

Oracle SQL is running fine and, I looked up some tutorials and I was reocmmended to download Oracle Client. I downloaded it but it doesn't seem to be doing much. Is there something I'm still not understanding?

1 ACCEPTED SOLUTION

Hopefully your local admin can help you get things in the right spot.  For Power BI I believe it has to use the driver for the Microsoft products I specified before and the TSNames file needs to be in that directory as well.  Hopefull your admin can help you get things moved and installed correctly.  

-----------------------
Did this help?
Drop a kudo so others can find it ! 😄
Mark as a solution if it helped you make progress on your issue 😃

View solution in original post

9 REPLIES 9
v-karpurapud
Community Support
Community Support

Hi @Hayden_RP 

We have not received a response from you regarding the query and were following up to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

 

Thank You.

v-karpurapud
Community Support
Community Support

Hi @Hayden_RP 

Thank you for submitting your question to the Microsoft Fabric Community Forum, and thanks to @d_m_LNK  and @nrichards_au for offering helpful suggestions.

 

Could you let us know if the suggested solution resolved your issue? If it's still pending, please let us know any further details so we can help.


Best regards,
Community Support Team

d_m_LNK
Super User
Super User

There is a TSNames.ora file in the oracle client install folder that needs to contain the connection information for your server.   Your system admin may have a copy of one to use.

-----------------------
Did this help?
Drop a kudo so others can find it ! 😄
Mark as a solution if it helped you make progress on your issue 😃

What I'm finding is that I can't seem to find TSNames.ora anywhere even in client folder. I looked in Oracle SQL Developer and it appears as such:

Hayden_RP_0-1769009190971.pngHayden_RP_1-1769009208017.png


I think I'm confused in part because I don't know where to get that file in the first place and just need to figure out where to go from here.

 

In Oracle SQL Developer the path to the TNSNames.Ora can be found Tools> Preferences > Database > Advanced

Bottom of the context window will be a path

Your Oracle DB admin should be able to help you with the connection string and/or TSNames.ora file needed to connect

 

Also for me I downloaded the Oracle Client for Microsoft tools Here: Oracle Client for Microsoft Tools
This will be used for power BI specifically to connect to the oracle DB

 

When I installed that the TSNames file will need to be located in the location: C:\Program Files\Oracle Client for Microsoft Tools\network\admin 

 

This was also a helpful Microsoft article to help: Connect to an Oracle Database with Power BI Desktop - Power BI | Microsoft Learn

-----------------------
Did this help?
Drop a kudo so others can find it ! 😄
Mark as a solution if it helped you make progress on your issue 😃

I checked in with the PC for the same path and I found the TSNames.ora. I called admin to get acces to moving it because apparently it wasn't in the right spot, and it doesn't do anything when I try and load it in SQL Developer.

 

 

Hayden_RP_0-1769011626900.png

 

Hopefully your local admin can help you get things in the right spot.  For Power BI I believe it has to use the driver for the Microsoft products I specified before and the TSNames file needs to be in that directory as well.  Hopefull your admin can help you get things moved and installed correctly.  

-----------------------
Did this help?
Drop a kudo so others can find it ! 😄
Mark as a solution if it helped you make progress on your issue 😃
nrichards_au
Helper I
Helper I

So Oracle SQL Developer connects to your Oracle Database. This is typically done using an ODBC connection. In PowerBI use the get data option and choose Other then try ODBC and choose the connection to your Oracle SQL server. 

 

If it's not that or the server isn't obvious have a chat to your DBA or IT team about it as they'll know the details of your setup

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.