VOOZH about

URL: https://dev.to/opeloyeru_hikmah_26/getting-data-from-multiple-sources-in-power-bi-a-practical-guide-to-modern-data-integration-1lca

⇱ Getting Data from Multiple Sources in Power BI: A Practical Guide to Modern Data Integration - DEV Community


Introduction

The foundation of every successful Power BI report is reliable data ingestion. No matter how visually appealing your dashboards are, if the underlying data is incomplete, inconsistent, or poorly structured, the insights generated will be misleading.

In real-world business environments, data rarely exists in a single source. As a data analyst, you will often work with multiple data sources such as Excel files, CSVs, databases, PDFs, JSON APIs, and cloud platforms all within the same report.

Power BI is designed to handle this complexity through its powerful Get Data functionality and Power Query Editor, allowing you to seamlessly connect, transform, and unify data from diverse sources.

In this guide, you will learn how to:

  • Connect Power BI to multiple data sources efficiently
  • Use Power Query to preview and transform data
  • Identify and resolve data quality issues early
  • Build a solid foundation for accurate data modeling and reporting Architecture Overview

A well-defined data architecture ensures scalability, consistency, and performance.
At a high level, a Power BI data architecture includes:

  • Power BI Desktop: used for data ingestion, transformation, modeling, and visualization
  • Multiple Data Sources, including:
  • Excel and Text/CSV files
  • PDF and JSON files
  • SharePoint folders
  • MySQL and SQL Server databases
  • Web APIs and Azure services

Data Flow

All data flows into Power BI through Power Query, where it is:

  • Connected
  • Profiled and explored
  • Cleaned and transformed
  • Loaded into the data model

This approach ensures:

  • Data consistency
  • Improved performance
  • Reusable transformations
  • Easier maintenance

Connecting Data from Multiple Sources

Power BI provides a wide range of connectors to integrate data from various platforms. Below are step-by-step instructions for each major data source.

Step 1: Connecting to Excel

  1. Open Power BI Desktop

👁 Image1

  1. Navigate to Home → Get Data → Excel

👁 Image2

  1. Browse and select your Excel file

👁 Image3

  1. In the Navigator window, select the required sheets or tables

👁 Image4

  1. Click Load or Transform Data

👁 Image5

Step 2: Connecting to Text/CSV Files

  1. Open Power BI Desktop

👁 Image6

  1. Navigate to Home → Get Data → Text/CSV

👁 Image7

  1. Browse and select the CSV file

👁 Image8

  1. Preview the dataset in the dialog window

👁 Image9

  1. Click Load or Transform Data

👁 Image10

Step 3: Connecting to PDF

  1. Open Power BI Desktop

👁 Image11

  1. Navigate to Home → Get Data → PDF

👁 Image12

  1. Select the PDF file

👁 Image13

  1. Wait for Power BI to detect available tables
    👁 Image14

  2. Select the desired table(s)

👁 Image15

  1. Click Load or Transform Data

👁 Image16

Step 4: Connecting to JSON

  1. Open Power BI Desktop

👁 Image17

  1. Navigate to Home → Get Data → JSON

👁 Image18

  1. Select the JSON file or API endpoint

👁 Image19

  1. Load the data into Power Query

👁 Image20

  1. Expand nested fields to structure the data properly

👁 Image21

  1. Click Close & Apply

👁 Image22

Step 5: Connecting to SharePoint Folder

  1. Open Power BI Desktop

👁 Image 23

  1. Navigate to Home → Get Data → SharePoint Folder

👁 Image 24

  1. Enter the SharePoint site URL

👁 Image 24

  1. Click OK and authenticate if required

👁 Image 26

  1. Select files from the folder
  2. Click Combine & Transform Data

Step 6: Connecting to MySQL Database

  1. Open Power BI Desktop

👁 Image 29

  1. Navigate to Home → Get Data → MySQL Database

👁 Image30

  1. Enter the server name and database

👁 Image31

  1. Provide authentication credentials

👁 Image 32

  1. Select the required tables 👁 Image 33
  2. Click Load or Transform Data

👁 Image 34

Step 7: Connecting to SQL Server

  1. Open Power BI Desktop

👁 Image 35

  1. Navigate to Home → Get Data → SQL Server

👁 Image 36

  1. Enter the server name (e.g., localhost)

👁 Image37

  1. Leave the database field blank or specify one

👁 Image38

  1. Click OK

👁 Image 39

  1. Select authentication method

👁 Image 40

  1. In the Navigator pane, expand the database

👁 Image41

  1. Select required tables (e.g., DimEmployee, DimProduct, FactResellerSales

👁 Image 42

  1. Click Transform Data

👁 Image 43

Step 8: Connecting to Web Data

  1. Open Power BI Desktop

👁 Image44

  1. Navigate to Home → Get Data → Web

👁 Image45

  1. Enter the URL of the web page or API

👁 Image46

  1. Click OK

👁 Image47

  1. Select the detected data structure

👁 Image48

  1. Click Load or Transform Data

👁 Image49

Step 9: Connecting to Azure Analysis Services

  1. Open Power BI Desktop
    👁 Image 50

  2. Navigate to Home → Get Data → Azure → Azure Analysis Services

👁 Image51

  1. Enter the server name

👁 Image 52

  1. Select the database or model

👁 Image 53

  1. Choose connection mode (Live Connection recommended)

👁 Image 54

  1. Click Connect

👁 Image55

Step 10: Connecting to Azure (General Services)

  1. Open Power BI Desktop
    👁 Image 56

  2. Navigate to Home → Get Data → Azure

👁 Image 57

  1. Select the desired Azure service (e.g., Azure SQL Database, Azure Blob Storage)

👁 Image58

  1. Enter required connection details

👁 Image59

  1. Authenticate using your Azure credentials
    👁 Image60

  2. Select data and click Load or Transform Data

👁 Image 34

Conclusion

Connecting to multiple data sources in Power BI is more than just a technical process it is the foundation of reliable and insight-driven reporting.

Modern data environments are diverse and distributed, requiring analysts to work across files, databases, cloud services, and APIs seamlessly.

Power BI simplifies this complexity through its powerful integration and transformation capabilities. However, the true value lies in how well you prepare and understand your data.

Effective data ingestion leads to:

  • More accurate insights
  • Better decision-making
  • Scalable and maintainable data models

As a data professional, mastering data connectivity and preparation is essential. It ensures that every dashboard you build is not only visually appealing but also trustworthy and impactful.

Ultimately, great analytics begins with great data and great data begins with how well you connect, clean, and understand it.