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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
anisevance
Frequent Visitor

ODBC driver not found error in Power BI service when attempting to refresh data

Good morning all,

 

I successfully created two data connections to a Power BI desktop instance that lives on-prem. The first of the data connections is to a SQL data source that is also on-prem. Let's call this source ABC. ABC has a SQL driver associated with it in System DSN. The second connection is to a PostGresSQL data source that is external to my organization. Let's call this source XYZ. This has a PostGresSQL driver associated with it in System DSN.

 

All of this works great from Power BI Desktop!

 

Then, when I upload the data to Power BI service, things get funky. The connection to ABC in Power BI service works totally fine. The connection to XYZ, however, does not. I receive the error below:

 

Error 3.png

Keep in mind: the connection string is exactly the same as on the PBI desktop, the ODBC driver is installed on System DSN that the PBI Desktop lives on, and the data source credentials are identical to those on the PBI desktop.

 

Any ideas on what is going on where? Where is PBI service looking for drivers? 

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

@anisevance Any chance the 32-bit driver is installed instead of the 64-bit driver? The ODBC driver needs to be installed on the gateway, not just Power BI Desktop.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Great questions and thanks for the quick reply!

 

I just double-checked to make sure -- it is definitely the x64 bit driver that is installed. 

 

On the gateway question, right now, under Connections and Gateways, it has the connection for source XYZ listed as a Personal Mode (in the Gateway Cluster Column). Considering it is an external (to the org) data source, I thought that would be okay. But am I wrong there? Should it be on an on-prem data gateway?

 

Additionally, how do I go about installing a driver on the gateway? Should the install happen on the server that hosts the gateway?

@anisevance Correct, you need to install the driver on the server that hosts the gateway. Generally for production you would use an on-prem data gateway that is not in personal mode but I don't think that is the problem here. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Got it. This is tremendously helpful. I will try two things:

 

1. Installing the driver on the server that hosts my "personal mode" gateway. Is this just the server that my Power BI Desktop instance lives on?

 

2. If the above doesn't work, I will transition the connections to our on-prem data gateway and make sure the ODBC driver is installed on the server that hosts that on-prem gateway. 

 

Is that about right?

Anonymous
Not applicable

Thanks for the reply from Greg_Deckler.

 

Hi @anisevance ,

 

This error is caused by the specified ODBC driver not being found when connecting to the data source. In the course of your discussion with the superuser, it seems that you have got the right idea, have you tried it in the direction you mentioned and got the expected result?


I found some links for you that I hope will be helpful:

Configure ODBC drivers for PostgreSQL (sqlshack.com)

vlinhuizhmsft_0-1725430154754.png

psqlodbc - PostgreSQL ODBC driver

 

Best Regards,
Zhu

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Kudoed Authors