Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

1.8 DirectQuery vs Import vs Live Connection

Lesson 8 of 62 in the free Power BI notes on Siksha Sarovar, written by Rohit Jangra.

Data Connectivity Modes in Power BI

Power BI offers three ways to connect to data. Choosing the right mode impacts performance, data freshness, and file size.

1. Import Mode (Default)

How it works: Data is copied and stored inside the Power BI .pbix file • Storage: Uses the in-memory VertiPaq engine for compression and fast queries • Data Freshness: Data is a snapshot; must be manually or schedule-refreshed • Performance: Fastest query performance (data is local)

When to Use: • Small to medium datasets (under 1 GB for Pro) • When data doesn't change frequently • When you need full DAX functionality • Most common and recommended mode

2. DirectQuery Mode

How it works: No data is stored in Power BI; queries are sent to the source database in real-time • Storage: Only metadata and visuals are stored in the .pbix file • Data Freshness: Always up-to-date (live queries) • Performance: Slower — depends on source database performance

When to Use: • Large datasets that exceed Power BI's import limits • When you need real-time or near real-time data • When data security requires data to stay at the source • Supported sources: SQL Server, Azure SQL, SAP HANA, etc.

Limitations: • Limited DAX functionality • No Power Query transformations after initial setup • Performance depends on source database speed

3. Live Connection

How it works: Power BI connects to an existing data model hosted externally • Storage: No data stored locally — relies entirely on the external model • Data Sources: SQL Server Analysis Services (SSAS), Azure Analysis Services, Power BI Datasets • Performance: Depends on the external model's performance

When to Use: • Enterprise environments with centralized data models • When a shared, governed data model already exists • When multiple reports should use the same model

Comparison Table

FeatureImportDirectQueryLive Connection
Data Stored LocallyYesNoNo
Data FreshnessSnapshot (scheduled refresh)Real-timeReal-time
Query SpeedFastSlowerDepends on model
Dataset Size Limit1 GB (Pro) / 400 GB (Premium)No limit (at source)No limit (at source)
DAX SupportFullLimitedLimited
Power Query SupportFullLimitedNone
Best ForSmall/medium dataLarge/real-time dataCentralized enterprise models

Choosing the Right Mode

Decision Guide: • Need fast performance + full DAX? → Import Mode • Need real-time data from a database? → DirectQuery • Have an existing enterprise data model? → Live Connection • Unsure? → Start with Import Mode (default and most flexible)