GETTING DATA FROM DIFFERENT SOURCES IN POWER BI
Mastering Data Connectivity in Power BI: Excel, CSV, and SQL Database Integration
INTRODUCTION
Okay, so picture this you need to analyze your company's performance, but your sales data is in Excel, your customer records are in a database, and some other figures are sitting on a cloud platform somewhere. Sound familiar? Yeah, that's the reality for most organizations today.
Data is almost never in one place. It's scattered, it's messy, and honestly, figuring out how to bring it all together was one of the first real challenges I faced on my data journey.
That's what got me so excited about Power BI. This tool by Microsoft doesn't just let you build pretty charts it lets you connect to all those different sources, clean up the mess, and turn everything into one clear, interactive dashboard. And trust me, the first time it all comes together, it feels like magic.
In this article, I'm going to share exactly what I learned about getting data from different sources in Power BI from Excel files all the way to SQL databases and online services. Whether you're just starting out like I was, or looking to level up, I hope this helps!
Also, I genuinely have to appreciate OLADOSU IBRAHIM, the founder of CodeSphere Hub, for creating a space where people like me can actually learn and grow in tech. And shoutout to RAHIMAH SULAYMAN, our Head of Community Growth the way she keeps this community warm and moving is something special.
STEP BY STEP PROCEDURE IN GETTING DATA FROM DIFFERENT SOURCES
1. GETTING DATA FROM EXCEL
Excel is one of the most common data sources for beginners and professionals alike.
Steps:
- Open Power BI Desktop
- Click on "Get Data" from the Home ribbon
- Select Excel Workbook Press enter or click to view image in full size
- Browse and select your Excel file Press enter or click to view image in full size
- Choose the sheets or tables you want to import Press enter or click to view image in full size
Press enter or click to view image in full size

Press enter or click to view image in full size
Key Tip:
Always format your data in Excel as a table (Ctrl + T) before importing. This ensures better structure and easier updates.
2. GETTING DATA FROM CSV FILES
CSV files are lightweight and commonly used for data exchange.
Steps:
- Click Get Data
- Select Text/CSV Press enter or click to view image in full size
- Choose your file
- Preview the data Press enter or click to view image in full size
- Click Load or Transform Data Press enter or click to view image in full size
3. CONNECTING TO SQL DATABASES
Power BI can connect directly to relational databases such as SQL Server.
Steps:
- Click Get Data
- Select SQL Server Press enter or click to view image in full size
- Enter server and database name Press enter or click to view image in full size
- Choose Import or DirectQuery mode
- Select tables and load
Note: Import Mode: Faster performance
Direct Query: Real-time data access
CONCLUSION
Working with Power BI has shown me that data analysis goes far beyond creating charts and dashboards. The real work begins with understanding where your data comes from and how to bring it together effectively.
Through this process, I learned how to connect to multiple data sources from Excel and CSV files to SQL databases and how to prepare that data for meaningful analysis. What once felt scattered and overwhelming now feels structured and manageable.
This experience has strengthened my confidence in handling real-world data, where information is rarely clean or in one place. More importantly, it has shown me that mastering data connection and transformation is a key step toward becoming a skilled data analyst.
As I continue my journey, I look forward to building more solutions that turn raw data into valuable insights.









Top comments (0)