Every report starts with data. Power BI can connect to hundreds of sources — files, databases, cloud services — and how you connect matters: the choice between Import and DirectQuery shapes performance and freshness for the life of the report.
The Power BI ecosystem
- Power BI Desktop — the free authoring tool where you build the model and reports.
- Power BI Service — the cloud where you publish, schedule refresh and share (Chapter 16).
- Power BI Mobile — apps to view reports on the go.
Data sources
Home → Get Data lists the connectors. The common ones:
| Source | Examples |
|---|---|
| Files | Excel, CSV, JSON, a folder of files |
| Databases | SQL Server, PostgreSQL, MySQL, Snowflake |
| Online services | SharePoint, Dynamics, Google Analytics |
| Web / API | A web page table or a REST endpoint |
Import vs DirectQuery
The most consequential choice you'll make about a source:
| Mode | How it works | Best for |
|---|---|---|
| Import | Loads a copy of the data into Power BI (compressed, in-memory) | Fast reports; most cases |
| DirectQuery | Queries the source live on every interaction | Huge or real-time data you can't copy |
Combining sources
You can pull from several sources into one model — sales from a database, targets from an Excel file, a country list from the web — and relate them (Chapter 7). Power Query (Chapter 3) is where you shape and combine them before loading.
Practice
In Power BI Desktop, use Get Data to import an Excel file and a CSV, and connect to a folder of files. Note which sources offered DirectQuery. Load a small database table and decide, with reasons, whether Import or DirectQuery fits.
Key takeaways
- 01Power BI = Desktop (author), Service (publish/refresh/share) and Mobile (view).
- 02Get Data connects to files, databases, online services and the web/APIs.
- 03Import copies data into Power BI's fast in-memory engine; DirectQuery queries the source live.
- 04Default to Import (faster, full DAX); use DirectQuery only for huge or real-time data.
- 05You can combine multiple sources into one model and relate them.
