Reply
ajwa
New Member

Connect to Oracle database

HI

 

I am trying to connect to an Oracle database but the connection string I've been given doesn't match the input required. I have no other Oracle client on this laptop. Do I need some Oracle specific DLLs? Or should I go through ODBC (this doesnt work either) Has anybody else connected to an Oracle database?

 

1 ACCEPTED SOLUTION
dilkushpatel
Helper III
Helper III

I have worked with oracle when power bi was integrated into sharepoint online and i think approach should be same as such.

You should install oracle client on your machine. install complete admin client so that you can setup tnsnames.ora file properly.

tnsnames.ora file acts as a middle man where it hosts oracle database entries and its alias. in connection wizard you need to mention this alias name and at run time with the help of this file client should fine correct oracle DB.

for odbc also you will need oracle driver so either case you have to go through this path.

 

-Dilkush

View solution in original post

3 REPLIES 3
dilkushpatel
Helper III
Helper III

I have worked with oracle when power bi was integrated into sharepoint online and i think approach should be same as such.

You should install oracle client on your machine. install complete admin client so that you can setup tnsnames.ora file properly.

tnsnames.ora file acts as a middle man where it hosts oracle database entries and its alias. in connection wizard you need to mention this alias name and at run time with the help of this file client should fine correct oracle DB.

for odbc also you will need oracle driver so either case you have to go through this path.

 

-Dilkush

Hi,

I manage to configure the oracle part:

I can do the following on a cmd:

sqlplus "user/pass@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=hostname.network)(Port=1521))(CONNECT_DATA=(SID=remote_SID)))"

 

When I try to connect to Power BI with following:

SERVER:PORT/SID it open the login window

I input my user & pass

 

I get the following error:

Détails : « Oracle : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor »

 

I have a x64 OS and I tried on powerBI x32 & x64 😞

 

Regards,

 

Power Bi insterface to connect to oracle is utterly confusing.

Put below command in server box:

 

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PGR-PC)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE)))

 

Then you will be prompted to your user name and password of your schema

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)