Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Nouer
New Member

When you should use DirectQuery and import for data storage? Best Practice

So, i heard that if you are using excel or small dataset then just use Import and if you connecting to company's SQL Server (where you don;'t want the visuals to limit to 1GB of data) then use DIrectQuerty.

 

Anything else someone can add to enhance my knowledge on this. Thank you

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Nouer ,

Import mode always works better than Direct query mode.

We use direct query mode in case

1. When the Pro License file exceeds the data limit 

2. Data is too large and the Database is performant enough to give quick replies.

 

In direct query, there are certain limitations on the DAX, max rows in a query. Also, you should avoid bi-directional join in direct query

 

Refer for more: https://powerbiconsulting.com/direct-query-vs-import-mode-in-power-bi/

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Nouer ,

Import mode always works better than Direct query mode.

We use direct query mode in case

1. When the Pro License file exceeds the data limit 

2. Data is too large and the Database is performant enough to give quick replies.

 

In direct query, there are certain limitations on the DAX, max rows in a query. Also, you should avoid bi-directional join in direct query

 

Refer for more: https://powerbiconsulting.com/direct-query-vs-import-mode-in-power-bi/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.