DEV Community

George Mathenge
George Mathenge

Posted on

Connecting PostgreSQL database to PowerBi.

 Introduction
Power BI is Microsoft's business intelligence platform for connecting data from multiple sources, transforming it, and creating interactive visualizations. It integrates with Excel, SQL databases, cloud services, and other platforms. With its drag-and-drop interface and automation capabilities, Power BI makes it possible to understand complex datasets quickly and efficiently.
The following are some of advantages of using PowerBi as a business tool;

  • it consolidates data from multiple sources into one view.
  • Creates dashboards that make patterns and trends easy to interpret.
  • Enables sharing of insights across teams or departments.
  • Supports timely, data-driven decisions.

Connecting postgresql database to powerbi

  1. Open power bi start by launching the power bi desktop application and get the "Get data" button on the home tab ribbon.

2 Click on sql postgres to connect
From the first interactive screen click on the search postgressql database and then click on connect

3.Get login details from Aiven
Aiven is a Database-as-a-Service (DaaS) platform that brings multiple popular open source services and tools, like postgreSql and OpenSearch, into one place.From this you create a service in which you will get the login credentials.

3.Server details
Input the database details as localhost and the specific name of the database you are connecting to.Input the host name and the port of the server your using.There after input the name of your database then click okay.

There after a dialogue box will pop up where you'll get the details of your database ready for analysis and visualization in power bi.

Top comments (0)