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

Join 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.

Reply
Anonymous
Not applicable

Reference Table loaded multiple times

Hello everybody, 

 

I have a big problem with the performance for queries I wrote in Power Query. To get to know you first: Evaluation of the queries is made in Excel and not in Power BI. I have to evalute our offered articles in the three categories "AssemblyParts", "ManufacuringParts", "PurchaisingParts".

 

I have a query which is called "Query1". This query is a reference to "Query0". "Query0" is a proccessed form of the raw data. Blank Rows are deleted, unesscary spaces also..This "Query0" contains all three different types of articles. 

"Query 1" is merged with an other Query, i.e. "Query 2"This Query contais the prices for the articles. ."Query 1" is now referring to three other queries: "Query 3","Query4" and "Query5".

 

Problem now: When I am refreshing all the queries, "Query1" is refreshed three times. This unfortunately takes a long time. I tried to impede this "behavior" with the command "Table.Buffer" at the end of "Query1".

 

Is there an other possibility to impede that the Query is refreshed three times? 

2 REPLIES 2
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

The surefire way to stop a query loading multiple times is to load it only once.

I'm not being a smartarse - if the multiple loads are causing you significant performance issues, then remove all the referenced queries, strip back to your core query, then handle the rest within the Excel Data Model (exactly as you would in Power BI).

Without seeing your queries and data it's difficult to say whether everything you want to do in subsequent queries is feasible/possible within the model, but certainly things like merges between queries can be removed via Data Model relationships, and so on.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




ppm1
Solution Sage
Solution Sage

Please see this video for an explanation of what is going on and some ideas to try. Also, FYI that Table.Buffer only works within a given query.

 

https://www.youtube.com/watch?v=3uKNNZqBIkg&t=1s

 

Pat

Microsoft Employee

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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