Back to feed
Dev.to
Dev.to
7/4/2026
From My Machine to the Cloud: Connecting Power BI to SQL Databases; PostgreSQL (Local vs Aiven)

From My Machine to the Cloud: Connecting Power BI to SQL Databases; PostgreSQL (Local vs Aiven)

Short summary

Step-by-step guide to connecting Power BI to PostgreSQL databases, comparing local (simple username/password) versus cloud (Aiven with SSL certificate management) setups. The Power BI dialogs and core steps are identical; the key difference is trusting the SSL certificate in Windows before connecting to the cloud database. Practical walkthrough with code samples and configuration comparisons.

  • Local PostgreSQL uses localhost and default port 5432; Aiven requires full host string and custom port
  • Cloud connection requires downloading and installing CA certificate into Windows Certificate Manager
  • Power BI dialogs are identical for both; SSL handling is invisible once certificate is trusted system-wide

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more