🗃️ How to Load Multiple Tables from SQL Server into Power BI – The Right Way
Power BI lets you easily import multiple tables from your SQL Server database — whether you want to load all tables, specific ones, or write custom SQL queries for total control.
Let’s explore all the methods to load multiple tables effectively into Power BI using SQL Server connection.

🧭 Option 1: Load Multiple Tables via Navigator Window
✅ Step-by-step:
- Go to Home > Get Data > SQL Server
- Enter your Server Name and optional Database Name
- Choose your Data Connectivity mode:
- Import (data stored in PBIX)
- DirectQuery (live connection to SQL)
- Power BI connects and shows the Navigator pane
✔ Select multiple checkboxes for each table you want
✔ You can preview each table before loading
✔ Click Load or Transform Data
⚠️ Note: Use Transform Data if you want to filter or modify tables before loading.
🧠 Option 2: Use SQL Statement to Load Specific Tables
If you want precise control, use SQL queries:
✅ Example:
SELECT * FROM Sales2024;
SELECT * FROM Customers;
SELECT * FROM Products;
Just paste this into the SQL Statement box under Advanced options.
But there’s a catch:
🚫 Power BI only runs the first statement in the SQL box by default.
🔍 Solution: Use SQL joins or UNION ALL instead of multiple queries:
✅ Example:
SELECT * FROM Sales2024
UNION ALL
SELECT * FROM Sales2025
✅ Or join two tables:
SELECT o.OrderID, o.CustomerID, c.CustomerName
FROM Orders o
JOIN Customers c ON o.CustomerID = c.CustomerID
This way, you return one table with combined data that Power BI can ingest.
📦 Option 3: Load Entire Database (Caution)
In Navigator, you can select all tables using Ctrl+A.
But think before you do it:
⚠️ Cons:
- Slow performance
- Larger PBIX file size
- May include unused or system tables
🧠 Tip: Only load what you need.
🔗 Include Relationships Automatically
Before loading multiple tables, ensure these options are checked:
- ✅ Include relationship columns – helps Power BI auto-detect relationships
- ✅ Navigate using full hierarchy – for OLAP-style exploration
Post-load, go to Model View and manually adjust relationships if needed.
📊 Post Load Best Practices
Once you load multiple tables:
- Go to Model View
- Set relationships between tables (if not auto-detected)
- Rename columns for clarity
- Hide unnecessary fields from Report View
- Consider using star schema for better performance
🔍 When to Use DirectQuery vs Import?
Scenario | Recommended Mode |
---|---|
Large datasets (millions of rows) | ✅ DirectQuery |
Faster visuals, offline use | ✅ Import |
Real-time dashboarding | ✅ DirectQuery |
💡 Pro Tips
- Use SQL Views in your database to simplify Power BI integration
- Rename tables with friendly names before importing
- Filter large tables in Power Query Editor using Date or ID ranges
- Avoid SELECT * in heavy production systems — be specific
📘 Summary
Power BI supports multiple ways to load and manage multiple tables from SQL Server:
- Use the built-in Navigator UI
- Write custom SQL joins or unions
- Use Power Query to clean before load
With the right method, you can keep your model clean, optimized, and analysis-ready.