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
Analitika
Post Prodigy
Post Prodigy

PostgreSQL connection problem in Power BI

Hello,

 

I have tried to connect report to PostgreSQL but during the report refreshing I am getting:

OLE DB or ODBC error: [DataSource.Error] Sybase SQL Anywhere: Connection error: Connection was dropped (may not be a SQL Anywhere server) . An unexpected exception occurred.

 

In data source settings I have also this:

Analitika_0-1630318660115.png

It seems I used ODBC connector.

 

So how to resolve my error in report?

 

 

 

6 REPLIES 6
Analitika
Post Prodigy
Post Prodigy

Analitika_0-1630387518953.png

Also getting this error while refreshing the report.

Anonymous
Not applicable

Hi @Analitika ,

Whether your problem still persist? Which data source you are connecting to currently? Sybase or PostgreSQL? How did you connect to it(Using ODBC)? Could you please provide the applied codes in Advanced Editor?

Importing PostgreSQL Data into Power BI Through an ODBC Connection

yingyinr_0-1630661747871.png

Best Regards

Analitika
Post Prodigy
Post Prodigy

I tried these steps but not helped. Same error remains. 

Analitika_0-1630324878278.png

 

Analitika
Post Prodigy
Post Prodigy

Which one parameters are wrong? In ODBC or Sybase connector?

amitchandak
Super User
Super User

@Analitika , There is some problem with the setting. It is showing error for sybase. Parameters are wrong.

 

Refer to this - it shows two ways. Do not miss steps

https://niftit.com/connecting-power-bi-to-postgresql/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have already setup postgresql but stilll getting several errors:

 

OLE DB or ODBC error: [DataSource.Error] Sybase SQL Anywhere: Connection error: Connection was dropped (may not be a SQL Anywhere server).

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.