Reputation: 25
With powerbi desktop I can easily connect with postgres database on server(192.168.1.5:32100) running on a port and a database_name. But doing the same with PowerBI on premise gateway I could not connect when adding a data source on gateway setting(gateway cluster). Below screenshot for reference. The first picture is of PowerBI desktop and the second one is on gateway settings. Is it something with the port?If yes I was able to connect on PowerBI desktop, if no then is there any way or am I missing something. Thanks in advance for the help.
Upvotes: 1
Views: 6892
Reputation: 11
I cannot comment because I don't have 50 reputation. I downloaded the psqlodbc_16_00_0000-x64.zip file from the link above and opened it. I get a dialog from Windows saying
Windows protected your PC
Windows Defender SmartScreen prevented an unrecognised app from starting. Running this app might put your PC at risk.
App: psqlodbc_x64.msi
Published: Unknown publisher
I've never received a dialog like this before. Is the link above safe, or has it (or my PC) been compromised?
I also downloaded an earlier file psqlodbc_13_02_0000-x64.zip and ran it. It gave no Windows Defender dialog warning.
Upvotes: 0
Reputation: 1830
Method 1
Install the Npgsql provider on the server that's hosting the data gateway (https://www.nuget.org/packages/Npgsql/4.0.2)
Reboot the server
Method 2
Connecting to PostgreSQL database using ODBC Connector
Should now be able to use the PostgreSQL data source type when creating the data source in Power BI Service.
Thanks,
Upvotes: 2