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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
avatorl
Impactful Individual
Impactful Individual

Power Query is drastically slow (sometimes, in some files)

Windows 10, the most recent version of Power BI (but I had the problem earlier), 16GB RAM, Core i5 CPU, SSD. Everthing works great and really fast than suddenly it becomes drastically slow (in the same file with the same data and queries). The simplest query takes many minutes. I mean really the simplest, like removing duplicates from a table with one column and 2 identical records. It loads CPU at 100% for many minutes.

Backgrounds downloads disabled. Cleared cache. Reboted computer. Nothing helps. Copied the query into a new pbix file and it work as expected - I see the result of preview generating immediately, while it's still strugling in the main file. And it can be like this during many attempts and then just suddenly it works fast again (same file, same data, I didn't even closed the file, it was very slow, then suddenly it works fast). Had this problem with other reports in the past. Power Query works normally then with no visble reason it stucks on basic operations. No other heavy applications work in the background. Something is wrong with Power Query itself.

What it's doing? Some caching? It looks like a bug, probably I need to contact Microsoft, but maybe someone experienced this problem.


3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@avatorl 
Do you have a very large query? This kind of problem is difficult to identify the exact reason. For some relevant suggestions, you could try to refer to Any way to speed up really slow refresh times in Power Query? | Power Query | Excel Forum  for details.


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

avatorl
Impactful Individual
Impactful Individual

This is how a basic power query preview loads the CPU:

 

avatorl_0-1608475975376.png

 

 

Anonymous
Not applicable

Hi @avatorl,

 

there is a lot of parameters that may impact on the performance of the query. In your case, I would say, it is the step when you fetching data for the query if this is somewhere outside your hard drive, it can take some time and may vary quite a lot.

 

Kind regards,

JB 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors