Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Is there a way to force Power BI to execute my queries in a known or preferred order?
I have one model with well structured queries which sequentially build out a data model from a large JSON file of activities.
If I manually step through the queries in the logical order, the total time is a couple of minutes. If I try refresh from the Desktop, it automatically tries queries out of that order and takes an exceptionally long time and often gives up.
Any advice is welcomed.
Solved! Go to Solution.
@pmurz First, I would make sure that Parallel loading of queries is disabled. That is under the Report settings, Data load in File | Options and settings | Options.
Second, take a look if you can create a controller query for some of your queries. In other words, disable load on your base queries and then create a query that runs those other queries sequentially within it to create a table.
@Greg_Deckler thank you for the advice. Turning off the Parallel Loading did the trick. It takes longer to execute, but never fails.
@pmurz First, I would make sure that Parallel loading of queries is disabled. That is under the Report settings, Data load in File | Options and settings | Options.
Second, take a look if you can create a controller query for some of your queries. In other words, disable load on your base queries and then create a query that runs those other queries sequentially within it to create a table.
Hi I am also interested in your query controller could you please elaborate ? thanks
Thanks for Greg,
Please could you elabrate on how to create a controller query for other querirs in sequence in Power Query and Power BI?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |