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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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