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
vineshparekh
Helper I
Helper I

Power Query running extremely slow

Hello Experts,

 

I am working on a project where my PQ is connected to a folder in which there are three subfolders (One having 95 PDFs around 100KB each, second having 30 PDFs around 300KB each and the third one is 30 Excel files (.XLSX) 12KB each)

 

My PQ has suddenly become too slow and clicking on each steps it keeps buffering. I tried with covering some steps (merge queries and group by) with table.buffer or table.stopfolding but it is not helping. I clicked on "Never allow data previews to download in the background" and still it doesn't improve the performance. If it takes 5 minutes or more for one step then it is too time consuming.

 

Please help how can I improve the process.

 

Thank you,

Vinesh.

4 REPLIES 4
ImkeF
Super User
Super User

Ok, so there is no fast gain to be made then.
Hard to tell from the distance, but for merge and group a buffer usually isn't benefitial.
I have collected some performance improving adjustments here:

Speed/Performance aspects – (thebiccountant.com)
You might want to go through them to see what could work for you.
 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

ImkeF
Super User
Super User

Hi @vineshparekh ,
is that folder on a local machine or in the cloud? (SharePoint, Onedrive)?

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Hi @ImkeF 

 

The folder is in the shared drive. It's not on SharePoint or OneDrive but a folder is shared among team members.

 

Thanks.

Try making a copy of the folder and subfolders (if there are any), save it to your local machine, and see if they run normally.   I have a question, are you on wireless when connecting to the shared drive?

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!

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