March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
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
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
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.
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?
Where are you monitoring this, in Power BI Desktop or in the service?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |