Connecting to Excel, CSV, and Databases0%
Connecting to Excel, CSV, and Databases
Beginner12 min read•Updated: Jul 11, 2026
Connecting to Excel, CSV, and Databases
Reading Time: 8 Mins | Level: Beginner to Advanced
1. Connecting to Diverse Data Sources
Power BI supports over 150 built-in data connectors:
- File Sources: Excel (
.xlsx), CSV/Text, JSON, XML, Folder (combine all files in a folder). - Relational Databases: SQL Server, Oracle, MySQL, PostgreSQL, IBM DB2.
- Cloud & Big Data: Azure SQL, Snowflake, Google BigQuery, Amazon Redshift, Databricks.
- Online Services: SharePoint Lists, Salesforce, Google Analytics.
2. Import Mode vs DirectQuery vs Live Connection
When connecting to a database, Power BI asks for the connection mode:
- 1Import Mode (Default & Fastest): Ingests and compresses data into the in-memory VertiPaq engine. Full DAX support, sub-second query speeds.
- 2DirectQuery: Leaves data in the source database. Power BI sends real-time SQL queries on every visual click. Required for massive data (> 100 GB) or strict real-time needs.
- 3Live Connection: Direct connection to an existing Analysis Services tabular model or Power BI dataset.
Interactive Quiz
Multiple Choice Questions
Question 1
What is the fastest and most feature-complete connection mode in Power BI?
Question 2
When should an analyst choose 'DirectQuery' over 'Import Mode'?
Question 3
Which Power BI connector allows you to read and append all monthly CSV files stored inside a designated directory automatically?
Question 4
What happens when you click 'Load' instead of 'Transform Data' in the Navigator window?
Question 5
Can Power BI connect to password-protected SQL databases securely?
Next Lesson
Power Query Editor Basics
Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
Related Lessons
| Previous Lesson | Next Lesson |
|---|---|
| Basic Settings | Power Query Editor Basics |
Practice Quiz
Test your understanding of this lesson with 5 questions. Each question has one correct answer.