Background
Modes of connectivity in Power BI
Differences
Import
Direct Query
Storage
Stores data into model
Do not store data
Volume
At max can store 1 GB data in model
No restriction
Performance
Fast with less volume, but degrades when volume increases
Fast if proper indexes are created on database, otherwise might underperform
Compatibility
Compatible with every type of data source
Supported for Database Server type of data source
RLS (Row Level Security)
Supports RLS
Supports RLS. But proper care needs to be taken since one might use Service Accounts to connect to database which practically impersonates identity of Power BI user
DAX & Transformations
Supports all the Power Query transformations & DAX
Supports only those transformations & DAX, for which Power BI is able to generate equivalent SQL Query
Refresh Schedule
User have option to set automatic refresh of data on scheduled interval based on subscription
Since data is not stored in model, concept of scheduling refresh is not applicable. Data is fetched from server when user opens report
Availability
If data refresh fails due to unavailability of datasource, last data persisting in model is used to prepare visuals
If data refresh fails due to unavailability of datasource, then entire report goes blank, as data is not stored in model. No option to go back to previous state
Leave A Comment