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! Request now

Reply
Analitika
Post Prodigy
Post Prodigy

Data source settings

Hello,

 

I would like to know if I could connect to PostgreSQL or Sybase in Power BI. Some tables requires use sybase other use postgresql. So how to implement two ways logging in. I am having error when added postgresql. While 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) .

2 REPLIES 2
amitchandak
Super User
Super User

@Analitika , for postgresql you need SSL , certificate etc. Have done all those steps. Check in second link there are steps, do not miss any

postgresql
https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666
https://dataintoresults.com/post/powerbi-and-postgresql-ssl-lets-encrypt-and-gateway/

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

Hello,

 

Whenever I am trying to connect to postgresql, in invoked custom function I am getting DataSource.Error: PostgreSQL: 42601: syntax error at or near "["
Details:
DataSourceKind=PostgreSQL
DataSourcePath=200.144.044.43:0132;dbname
Message=42601: syntax error at or near "["
ErrorCode=-2147467259.

 

How to resolve this issue?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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