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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Valid case for not using DirectQuery?

Hi experts,

 

I see some people created massive datasets like:

ovonel_0-1696581324672.png

 

After checking the content, I can see the dataset is just a    select * from a View in SQL SERVER.

 

Why don't they  just use DirectQuery??, so all the data doesnt have to be stored in a power bi dataset?

 

Is there a valid reason/case where you can't use DirectQuery? and are forced to store all of it in PowerBI?

1 REPLY 1
ibarrau
Super User
Super User

Hi. The thing here is that import data is so much popular because you have your data "in memory" on a high speed columnar engine that runs fast. It's the most used connection. This connection is asyncronous. So the 1gb select * from view, would be run only X times a day depending on the configuration.

When you use direct query, each interaction of the user will run a query to the engine except the ones in cache. It's way more complex to make it work properly. There are docs about this: https://learn.microsoft.com/en-us/power-bi/guidance/directquery-model-guidance

Unless you can do all the things on that doc, you might have a lousy performance or overload the source.

If you are concerned about the size of the models, there are practices for downsizing and improving imported data models that could help a lot reduce the model even though it's a select * from view. 

I hope that helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors