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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.