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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
justinbouchard
Frequent Visitor

Oracle works in powerbi, but not with the gateway

Hi everyone,

 

I'm stumped on this one. I have a on-premise gateway installed on my laptop and everything works as it should. The problem is that its a laptop and not meant to be on all the time. 

 

I found an old desktop that I can leave on so i can run the gateway at all times but for some reason I can't get it to connect to Oracle.  I have powerbi installed, oracle, and I'm able to connect via powerbi. The only thing that doesnt work is the gateway connection.

 

When I try to re-connect using my credentials I get the following error:

FAFSPowerBI: Oracle: ORA-12154: TNS:could not resolve the connect identifier specified

 

justinbouchard_0-1654009115887.png

 

I'm able to connect or reconnect to my other data sources. Just not oracle. Any ideas?

 

1 ACCEPTED SOLUTION
justinbouchard
Frequent Visitor

SOLVED IT!

 

I forgot to come back here when i figured it out the first time, but the same problem happened just last week. Turns out I was editing the envrionment variable for the "user" instead of the system. Gateway uses the System variables.

justinbouchard_0-1739889442023.png

 

View solution in original post

5 REPLIES 5
justinbouchard
Frequent Visitor

SOLVED IT!

 

I forgot to come back here when i figured it out the first time, but the same problem happened just last week. Turns out I was editing the envrionment variable for the "user" instead of the system. Gateway uses the System variables.

justinbouchard_0-1739889442023.png

 

v-xiaotang
Community Support
Community Support

Hi @justinbouchard 

Thanks for reaching out to us.

Please check if this post helps, Error - Oracle: ORA-12154: TNS - Microsoft Power BI Community

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

justinbouchard
Frequent Visitor

Spoke too soon! While I was able to connect Oracle to ODS through the gateway through a server/db path, I was not able to hook it up to any of my reports because tehy specified the db sever on its own!

collinq
Super User
Super User

Hey @justinbouchard ,

 

I found this thread that might be helpful - there is two or three options in there for this message:

Error - Oracle: ORA-12154: TNS - Microsoft Power BI Community




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Thanks @collinq 

Putting in the Server/DB worked for me!  I was just putting in the DB in the server name.

justinbouchard_0-1654092200205.png

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors
Top Kudoed Authors