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
Bella_1429
New Member

Power Query in Excel still using lots of CPU/Memory after query has finished refreshing

Hello,

 

I have a ~3MB Excel file that contains about 16 Power Queries. These all feed into a single result query that gets loaded as a table to a spreadsheet.

 

When I click Refresh All, the query takes about 1-2 minutes to load the final data to the sheet. However, for several minutes afterwards, CPU usage by Excel will remain high, at around ~50-70%, and Excel will be semi-frozen, or at least difficult to interact with. Memory usage increases as well, but only by ~50MB. However, that takes much longer to go back to normal.

 

How come the process is still using extra CPU once the query has finished and loaded everything to the sheet? How can I troubleshoot this?

 

(Note that due to the recipient I can't load queries into Power BI, they need to stay in Excel.)

 

I did try disabling Background Refresh on the queries, but it doesn't seem to have solved the problem.

 

Thanks for any help! 

3 REPLIES 3
PwerQueryKees
Impactful Individual
Impactful Individual

Could it be that the sheet you load the result into, has time consuming formulas using the data you just loaded?
I am thinking of xlookup, countif, filter etc. 

If that is the case, then ALL formulas depending on ALL your loaded data are recalculated.

I have experienced this behaviour on a 2 tables table with each 10K rows refereiing to each other...

Omid_Motamedise
Memorable Member
Memorable Member

Do you load the result into the excel table, or just use it as connection table or upload it into Data Model?
If you load it into Excel, how many rows it is included?

v-junyant-msft
Community Support
Community Support

Hi @Bella_1429 ,

What version of Excel are you using? I can try to test it myself. Thank you.
I tested this with a file and query of similar size to yours in an existing version of Excel on my computer, and I did not have your problem. Here is my version:

vjunyantmsft_0-1733968040766.png

vjunyantmsft_1-1733968120959.png

And have you tried refreshing other queries on the same computer, and refreshing the same query on another computer to see if the same problem exists?
If your computer has no problem refreshing other queries, then it may be caused by the complexity of your query; if refreshing other queries will get stuck, and other computers have no problem refreshing, then it may be a problem with your computer.

Best Regards,
Dino Tao

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.

Top Solution Authors