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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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/

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 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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