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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
VickyDev18
Advocate II
Advocate II

Fabric - Direct Lake vs Direct Query

I've been playing around with Fabric and trying to get a better understanding of Lakehouses, Datawarehouses, Direct Lake etc.

I primarily have a Power BI and SQL background.   

 

Here's what I did:-

  • I have several files that represent different tables in a source system in CSV format in the Data Lake.
  • I used Data Flow Gen2 to load these tables into a Datawarehouse in Fabric
  • I then created views based on those tables (Gold layer)
  • I then connected to the Datewarehouse from Power BI Desktop. It ended up showing all the tables and views with message at bottom saying it's connect live to the dataset (basically the default dataset). 
  • Since I only wanted the views to be part of my model, I clicked edit and it asked me to convert to a local model, post which I was able to select just the views I wanted. 
  • At this point, the storage mode started showing as Direct Query

 

Questions:-

  1. In step 4 was I in Direct Lake Mode?
  2. If yes, in step 6 am I still in Direct Lake Mode or Direct Query? What's the difference?
  3. If I am not in direct lake mode, are SQL queries essentially being generated and run against the datawarehouse?
  4. If yes, would that mean performance is definitely slower than Direct Lake mode?
  5. How exactly do I know if I am connected in Direct Lake mode?

 

3 REPLIES 3
Brunner_BI
Super User
Super User

1) If you open the SQL endpoint you should see that your is in Direct Lake mode (see screenshot)

Then in the report it shows live connection to your dataset

Brunner_BI_0-1702205911099.png

 

2) When you switched from live connection to direct query, I think you killed Direct Lake - but I am not sure exactly what happens then.

3) Yes - but even in Direct Lake mode I think it is doing something similar to that.

4) Direct Lake is supposed to be faster

 

I heard a lot of times you just need to test it out and see what the performance difference will be.

Maybe someone else can comment who has more experience with this already.

------------------------------------
Brunner BI focusing on Microsoft Power BI development and consulting
Developers of external tool "Measure Killer"
My blog

Thanks for your inputs. As you indicated, perhaps the best way to understand the differences in performance would be test things out. The key thing I'm trying to determine is the choice between the following 3

 

If I have raw data in delta parquet format but need to do some transformations to it before using in the data model then which of these approaches is better, at least for not so large datasets. 

 

OPTION 1: Use Dataflow to transform the data and load as delta tables and use in direct lake mode in PBI.
OPTION 2: Define views based on the delta tables and import them into the PBI data model.

OPTION 3: Define views and use them directly in the PBI model (direct query).  

 

In option 1, time is spent in transforming, in option 2 time is spent in processing the model.  In option 3, there is no additional processing time but most likely individual queries are slower as it's direct query and not direct lake.  

 

I will test these options out and post my findings. 

 

Hello @VickyDev18 

 

Have you tested the above scenarios, do you have anything valuable to share with the community.

 

Thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors