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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
FilipK
Resolver I
Resolver I

Query loading order

Dear all,

 

assume you've got 2 tables to load from a single SQL database with PowerBI.

Each table takes 10 minutes to do so.

 

Via keys the tables are related to each other. While one table is loaded there is still ongoing input traffic into my database.

That means as soon as the 2nd table starts loading there might be entries that cannot be related to the first loaded table.

 

In PBI this leads to null values, when connecting both tables after loading all. 

How can that been prevented?

 

I tried simultaneous load option, but this didn't help. I also don't want to work with timers as it was proposed somewhere.

When deactivating parallel load, I experienced that the order of the queries in the query editor influences the load option. So the idea was to start with the one that has higher input frequency, afterwards load the other one and than filter the rows that are not related. The problem with that approach is that after uploading to the PBI service the order has varied and I don't know why.

 

 

 

1 ACCEPTED SOLUTION

Hi @FilipK ,

 

Try to shape data at the query editor before you load them:

vkellymsft_0-1635142470087.png

You could create a new table keeping the transformed data.Then choose uncheck "Enable loaded" for the oringinal table.

vkellymsft_1-1635142537251.png

 

For the reference,pls see below:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-shape-and-combine-data

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

View solution in original post

5 REPLIES 5
parry2k
Super User
Super User

@FilipK yes, why not have that heavy lifting done at the backend.

 

Follow us on LinkedIn

 

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Perhaps I don't understand your point in total. If needed I can do in backend. No problem. But I'd like to avoid working with constant times, since the time for refresh is not constant (depending on SQL performance at that time and other database workloads). 

Hi @FilipK ,

 

Try to shape data at the query editor before you load them:

vkellymsft_0-1635142470087.png

You could create a new table keeping the transformed data.Then choose uncheck "Enable loaded" for the oringinal table.

vkellymsft_1-1635142537251.png

 

For the reference,pls see below:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-shape-and-combine-data

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

parry2k
Super User
Super User

@FilipK why not you create a view in the SQL Server and take care of all this at the backend and then use that view in the Power BI.

 

Follow us on LinkedIn

 

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k , acutally I'm accessing the views. But the views are executed with each query. So output of view 1 holds data from time T, while output of view 2 holds data from T+10. Do you mean, that I shall take that delay already into account and filter the view accordingly?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors