Forum Discussion

korayg's avatar
korayg
New Member
3 months ago
Solved

Configure Gateway to connect to PostgreSQL

Hello,   With powerbi desktop I can easily connect with postgres database But doing the same with PowerBI on premise gateway I could not connect when adding a data source on gateway setting(gateway...
  • v-saisrao-msft's avatar
    3 months ago

    Hi korayg,

    Since the PostgreSQL connection works in Power BI Desktop, the database server and credentials are likely correct. The problem may be related to the Gateway configuration. Please check the Gateway version, as older versions might need the Npgsql provider installed separately, and make sure the authentication settings are the same as in Power BI Desktop. Also, confirm if the Gateway is installed on the same machine as Power BI Desktop, since the Gateway must be able to access the PostgreSQL server and meet any network, firewall, or SSL requirements.
    Power Query PostgreSQL connector - Power Query | Microsoft Learn
    On-premises data gateway - Power BI | Microsoft Learn

    Thank you.