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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
BartVW
Helper I
Helper I

Table.Combine in parallel possible?

Hello colleagues

 

To work around a constraint pulling data from our source system, I am splitting up the data pull into 3 queries that all have their date filter criteria. I then append them all into a single table to be used in my model.

 

The 3 sub queries have 'enable load' disabled to avoid loading the data to my model twice.

 

Monitoring the query execution, it seems that table.combine executes the 3 sub queries one after another.

 

Does anyone know of a way to do this in parallel, so that it is faster?

 

Thank you

Bart

8 REPLIES 8
lbendlin
Super User
Super User

Query1 & Query2 & Query3 ...

 

If the queries are not too large you can also do it DAX UNION instead.

I tried this (disabling load and query combine), but in this way it still executes the sub queries one after the other, not in parallel.

Then go for the DAX UNION.  You can hide the tables in Power BI

 

BartVW
Helper I
Helper I

I am monitoring this in the source system (SAP). FYI we are using an OData service based on SAP data to pull in the data.

 

In that SAP monitor, I can see only the first subquery executing, and once it finishes it starts the 2nd one in the Table.Combine list of tables, etc. 

 

If I keep 'Enable Load' enabled on the subqueries, then I see 4 queries hitting SAP at the same time: the 3 subqueries and the first subquery in the Table.Combine list. 

 

Interestingly, the remaining 2 subqueries in the Table.Combine list are no longer sent to SAP. Assume this is because by the time Table.Combine starts processing them, they are already somehow cached.

Would you have any idea  @lbendlin ?

In such scenarios we create separate queries, disable load for all, and return a query combine rather than a table combine. Make sure not to overwhelm the data source when you crank the parallelism up to 30.

Thanks @lbendlin . Could share the M function that is used for a query combine? 

lbendlin
Super User
Super User

Where are you monitoring this, in Power BI Desktop or in the service?

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.