๐ฏ What You'll Learn
- Connect Power BI to cloud databases โ Snowflake, BigQuery, and Azure Blob Storage
- Query live REST APIs and JSON feeds directly inside Power Query
- Understand the difference between Import Mode and DirectQuery Mode
- Combine multiple files from SharePoint/OneDrive automatically on Refresh
- Generate a Power BI table from a Python script using pandas
๐ Before You Begin
- Completed Part 1 โ you know how Power Query and basic visuals work
- A Gmail account (needed for BigQuery free tier)
- A Microsoft account (needed for Azure, SharePoint, Fabric)
- Python 3 installed locally if attempting Exercise 8 (python.org โ free)
๐๏ธ Which Connectors Can You Try Right Now?
Not all connectors need a paid subscription. Use this table to pick the easiest ones to start with today.
| # | Connector | Account Needed | Difficulty |
|---|---|---|---|
| 2 | Google BigQuery | Gmail (free) | โ Easy |
| 4 | OData Feed โ Northwind | None | โ Easy |
| 5 | GitHub API | None | โ Easy |
| 8 | Python Script | Python installed | โ Medium |
| 1 | Snowflake | Free trial (30 days) | โ Medium |
| 7 | SharePoint Folder | Microsoft (work/school) | โ Medium |
| 9 | PDF Extraction | None (any PDF URL) | โ Medium |
| 6 | SQL Server | Azure free tier or local | โ Hard |
| 3 | Azure Open Datasets | Azure free trial | โ Hard |
| 10 | Microsoft Fabric / OneLake | Fabric trial (60 days) | โ Hard |
๐ 10 Connector Exercises
Use the tabs to browse connectors by category, then expand each exercise.
FINANCIAL_MARKET_DATA and create a KPI Card showing the latest USD โ EUR Foreign Exchange rate.bigquery-public-data and find the covid19_jhu_csse dataset.https://services.odata.org/V3/Northwind/Northwind.svc/OrderID.https://api.github.com/repos/microsoft/powerbi-desktop-samples/commitsSales table. Then try connecting again in DirectQuery mode.import pandas as pd
data = {
'Name': ['Alice', 'Bob', 'Carol', 'David'], # list of names
'Score': [95, 80, 88, 72] # corresponding scores
}
df = pd.DataFrame(data) # Power BI reads this df variable
A table with 4 rows: Name (Text) | Score (Decimal Number)
โก Import vs. DirectQuery โ What's the Difference?
This is one of the most important architectural decisions you'll make in Power BI.
| Aspect | Import Mode | DirectQuery Mode |
|---|---|---|
| Data location | Copied into the .pbix file | Stays in the database |
| Speed | Fast (data is local) | Slower (live SQL queries) |
| Freshness | Only fresh on Refresh | Always live / real-time |
| File size | Can get large | Very small (.pbix) |
| DAX support | Full DAX support | Limited DAX functions |
| Best for | Static/daily data, complex DAX | Real-time dashboards, large DBs |
๐ง Practice Quiz
Q1. You paste the GitHub API URL into "Get Data โ Web". Power BI loads it as JSON. What is your FIRST step in Power Query?
Q2. In DirectQuery mode, what happens when you click a slicer on your report?
Q3. You upload "Sales Jan", "Sales Feb", and "Sales Mar" as identical Excel files to a SharePoint folder. After using "Combine Files", you add "Sales Apr". What do you do in Power BI to see April's data?
Q4. In the Python script connector, what variable name must your DataFrame use so Power BI can read it?
Q5. What visual type best shows income and expense categories in a financial report to reveal where money flows?
๐ Key Takeaways โ Part 2
- Power BI connects to 100+ sources โ cloud databases, APIs, files, scripts, and PDFs
- Start with BigQuery, OData Feed, and GitHub API โ all free, no special setup needed
- Import Mode = fast + flexible; DirectQuery Mode = live + lightweight
- SharePoint Folder connector + Combine Files = automatic report updates when new files are added
- Python scripts unlock AI/ML model outputs as Power BI data sources
- Microsoft Fabric with Live Connection is the most modern architecture for 2026