![]() |
VOOZH | about |
Tableau is a visual analytics platform transforming the way businesses use data to solve problems. When paired with the CData Tableau Connector for PostgreSQL, you can easily get access to live PostgreSQL data within Tableau Prep. This article shows how to connect to PostgreSQL in Tableau Prep and build a simple chart.
The CData Tableau Connectors enable high-speed access to live PostgreSQL data in Tableau. Once you install the connector, you simply authenticate with PostgreSQL and you can immediately start building responsive, dynamic visualizations and dashboards. By surfacing PostgreSQL data using native Tableau data types and handling complex filters, aggregations, & other operations automatically, CData Tableau Connectors grant seamless access to PostgreSQL data.
NOTE: The CData Tableau Connectors support Tableau Prep Builder 2020.4.1 or higher. If you are using an older version of Tableau Prep Builder, you will need to use the CData JDBC Driver. If you wish to connect to PostgreSQL data in Tableau Cloud, you will need to use CData Connect AI.
When you install the CData Tableau Connector for PostgreSQL, the installer should copy the TACO and JAR files to the appropriate directories. If your data source does not appear in the connection steps below, you will need to copy two files:
Open Tableau Prep Builder and click "Connect to Data" and search for "PostgreSQL by CData." Configure the connection and click "Sign In."
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:
Drag the tables and views you wish to work with onto the canvas. You can include multiple tables.
π Selecting table(s)To further prepare the data, you can implement filters, remove duplicates, modify columns and more.
Data joining involves combining data from two or more related tables based on a common field or key.
After you perform any cleansing, filtering, transformations, and joins, you can export the data for visualization in Tableau.
Once the output data is saved, you can work with it in Tableau, just like you would any other file source.
Using the CData Tableau Connector for PostgreSQL with Tableau Prep Builder, you can easily join, cleanse, filter, and aggregate PostgreSQL data for visualizations and reports in Tableau. Download a free, 30-day trial and get started today.
Download a free trial of the PostgreSQL Tableau Connector to get started:
Download NowLearn more:
π PostgreSQL IconThe fastest and easiest way to connect Tableau to PostgreSQL data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.