Connect Amazon Redshift to Microsoft Power BI to visualize and analyze your Redshift data in real time.
In Power BI Desktop, click Get Data → Amazon Redshift. Paste the Redshift endpoint in the format redshift-cluster.abc123.us-east-1.redshift.amazonaws.com:5439
, supply the database name, choose Import or DirectQuery, and press OK.Enter your Redshift username and password, pick a schema, check the desired tables, and load the data.
Make sure the Redshift security group allows inbound traffic from your workstation’s IP on port 5439, the redshift:GetClusterCredentials
action is permitted (if IAM authentication is used), and the Power BI On-Premises Data Gateway is installed for scheduled refreshes.
Import copies data into Power BI for fastest visuals but uses memory and requires refresh jobs.DirectQuery keeps data in Redshift and sends SQL on every interaction—ideal for near-real-time dashboards but relies on cluster performance.
In the navigator, click Transform Data → Advanced Editor and replace the autogenerated query with your own, or select the SQL statement option during connection to paste a handcrafted query.
Choose varchar
lengths wisely, sort keys on common filters, add dist keys on large fact tables, limit imported columns, and aggregate in SQL before Power BI.Use Import for small, wide tables and DirectQuery for large, narrow tables.
.
Yes. Select Use my current credentials in Power BI and grant redshift:GetClusterCredentials
and redshift:JoinGroup
permissions to your IAM role.
Publish the report to Power BI Service, install the On-Premises Data Gateway, and configure refresh cadence under Datasets → Settings.