![]() |
VOOZH | about |
The CData Power BI Connector for PostgreSQL seamlessly integrates with the tools and wizards in Power BI, including the real-time data workflows on PowerBI.com. Follow the steps below to pull data directly into DataFlows on PowerBI.com and use the Power BI Gateway to configure automatic refresh.
Installing the Power BI Connector creates a DSN (data source name) called CData Power BI PostgreSQL. This the name of the DSN that Power BI uses to request a connection to the data source. Configure the DSN by filling in the required connection properties.
You can use the Microsoft ODBC Data Source Administrator to create a new DSN or configure (and rename) an existing DSN: From the Start menu, enter "ODBC Data Sources." Ensure that you run the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
To connect to PostgreSQL, set the Server, Port (the default port is 5432), and Database connection properties and set the User and Password you wish to use to authenticate to the server. If the Database property is not specified, the data provider connects to the user's default database.
You can use SSH (Secure Shell) to authenticate with PostgreSQL, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
To connect to PostgreSQL via SSH in Password Auth mode, set the following connection properties:
To connect to PostgreSQL via SSH in Password Auth mode, set the following connection properties:
With the data source configured, follow the steps below to load data from PostgreSQL tables into your DataFlow.
Follow the steps below to configure the gateway on your machine:
In the Connectors step, choose a folder where the gateway will look for the CData Power BI Connector. This article uses C:\Users\PBIEgwService\Documents\Power BI Desktop\Custom Connectors\. Copy the .pqx files for the CData Connector (found in C:\Users\USERNAME\Documents\Power BI Desktop\Custom Connectors\) to the folder you configured.
NOTE: The account configured for the service (NT SERVICE\PBIEgwService) needs to be able to access the folder chosen for the gateway. If needed, you can change the service account in the Service Settings section of the gateway installer.
Refresh your dataflow to have the most up to date data.
๐ Scheduled refresh of Dataflow.
At this point, you will have a Dataflow built on top of live PostgreSQL data. Learn more about the CData Power BI Connectors for PostgreSQL and download a free trial from the CData Power BI Connector for PostgreSQL page. Let our Support Team know if you have any questions.
Download a free trial of the PostgreSQL Power BI Connector to get started:
Download NowLearn more:
๐ PostgreSQL IconThe fastest and easiest way to connect Power BI to PostgreSQL data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.