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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Johann_32
Advocate II
Advocate II

Dataflows going to the source by Import Data Mode or Direct Query?

Hello,

 

I would have a simple question that I wasnt able to find in the Microsoft Documentation:

 

Is it possible that Dataflows are going to the source database in Direct Query mode, or is a dataflow always connecting via Import mode to the source database? 

Till now I only found that the Dataset is able to go to the Dataflow in Direct Query mode (with Enhanced Compute Entity enabled), but this is a complete different topic.

 

Thank you

 

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Johann_32 ,

 

I understand your question now.

 

So the main benefit of dataflow is to create a separate layer of logical transformations on the source data like the Power Query element in Power BI Desktop. Dataflow is the Power Query capability in the cloud. So the basic necessity for transforming the source data in the transformation layer is it needs to be read in IMPORT mode. Therefore answer to your question is Dataflow connects to source data in import mode.

 

Consider a scenario where you have DF1 --> dataflow connected to Azure SQL DW which has imported all the relevant tables. Now you want to consume DF1 to another dataflow say DF2 to transform the data imported in DF1.

In this scenario where a dataflow can consume another dataflow for reusable purpose; DF2 connects to DF1 in direct query mode.

 

Hopefully the explanation helps.

You can find more details here: https://learn.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-directquery

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

6 REPLIES 6
Johann_32
Advocate II
Advocate II

Hello Pragati,

 

thanks a lot for your detailed answer, I now understand.

 

The reason why I was asking for Direct Query in combination with Dataflows is, that the amount of data that is imported in the Dataflow from the source is very big and it therefore takes a lot of time to reload the whole data all the time. It even may exceed the limit that Workspaces in Pro License are allowed to have.

 

With Direct Query I was thinking to bypass this issue, but it seems that this would not help in our scenario, as the DF1 (in your example) would still have the long loading time.

 

I am also aware about the fact that Incremental Refresh in our Dataflows could help us in this topic to only load the data that has really changed lately. So we will now investigate more in this topic.

 

Thank you!

Hi @Johann_32 ,

 

I think if you want to  bring in data using DirectQuery in dataflows, then there is no point in using dataflows. You can directly bring in tables in PBI in DQ  mode if transformations are not required. Th only benefit of dataflows is to do all the heavy transformations in a different layer before data reaches to PBI. 🙂

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hello again @Pragati11,

 

I would have one final question to that topic, because I now found out about the "Hybrid Tables" functionality that combines Direct Query for getting latest data + import mode for historical data.

 

I tested and its available for Power BI datasets in the Desktop tool. Can you confirm that this features is missing in Dataflows? (makes sense because of the reasons you mentioned above).

 

Thank you!

Johann

Pragati11
Super User
Super User

Hi @Johann_32 ,

 

I understand your question now.

 

So the main benefit of dataflow is to create a separate layer of logical transformations on the source data like the Power Query element in Power BI Desktop. Dataflow is the Power Query capability in the cloud. So the basic necessity for transforming the source data in the transformation layer is it needs to be read in IMPORT mode. Therefore answer to your question is Dataflow connects to source data in import mode.

 

Consider a scenario where you have DF1 --> dataflow connected to Azure SQL DW which has imported all the relevant tables. Now you want to consume DF1 to another dataflow say DF2 to transform the data imported in DF1.

In this scenario where a dataflow can consume another dataflow for reusable purpose; DF2 connects to DF1 in direct query mode.

 

Hopefully the explanation helps.

You can find more details here: https://learn.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-directquery

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Pragati11
Super User
Super User

HI @Johann_32 ,

 

I am not very clear on your question here. Are you asking by what mode the data connected in the Dataflows or can Dataflows be consumed by DirectQuery mode in BI Desktop to create datasets?

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hello Pragati, 

 

the first what you refer to, is what I am searching for, "by what mode the data connected in the Dataflows".

 

Let my try to ask in a different way:

 

Can a dataflow be set up to go to the source database (Oracle, SAP, ...) in Direct Query mode, instead of Import Data Mode? 

 

Maybe, I also understood something wrong and dataflows are not using neither of these two ways.

 

Thank you

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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