DEV Community

Matt Dyor
Matt Dyor

Posted on

2

Connecting Power BI to PostgreSQL on Azure

If you want to connect your desktop Power BI to a SQL Server on Azure, it is a pretty simple couple of clicks. PostgreSQL takes a couple of additional options.

  1. On your Windows machine, click on Windows > ODBC Data Sources (32 Bit)
  2. Click on the Drivers tab to make sure you have the PostgreSQL ODBC Driver
  3. Click on the User DNS tab and Add a connection to the PostgreSQL ODBC Driver (I used the Unicode driver, but I am not sure if that is required)
  4. In Power BI, click on Get Data (the top of the icon, not the drop down - if you click the drop down you need to select More...)
  5. Search for ODBC
  6. You should see the Data Source Name you just created as an option. I don't think you need to specify Advanced Options, as the DNS has all of this information.

You are now ready to pull data into Power BI from your Azure-hosted PostreSQL database (and this would probably work on platforms other than Azure as well, but I have not tested them out).

Cheers.

Matt

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay