Power Query Super Slow

El Conquistador 1 Reputation point
2020-11-18T15:59:28.947+00:00

I have the latest version of Excel 365 Proplus 64-Bit Desktop Version. I have a file that is 25MB and has several worksheets in it. I opened a new workbook and used get data from Excel File to attempt to connect to one of the tables from this 25MB workbook. The connection takes about 6 minutes to complete. Once I have it in PQ Editor using Transform Data it takes another 6 minutes. Then when I select to delete the first two rows from table, alas, I wait another 6 minutes. Then Select use first row as header and guess what, you bet wait another 6 minutes.
Each time I sit and patiently wait I notice in the PQ Editor at the bottom right corner of the screen it cycles through every worksheet in that file during that 6 minutes. So, I can only guess that is what is slowing this query down. How can I tell PQ to ignore those other sheets and just concentrate on the table I need to connect to? I have already made changes in the PQ Settings that will enable faster load times but still no luck. My research on this shows that this has been an issue for a very long time without any resolution. Does anyone have a work-around?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,992 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Ehren (MSFT) 1,781 Reputation points Microsoft Employee
    2020-11-20T01:14:50.103+00:00

    Hi there. Is the Excel file you're importing an OpenXML file (such as .xlsx) or a legacy Excel file (.xls)?

    Ehren


  2. Fabian Besche 1 Reputation point
    2021-01-21T13:00:39.717+00:00

    Hey,

    got the same problem that ElConquistador-3740 described and as in this post too: https://social.technet.microsoft.com/Forums/en-US/09a57cce-2d45-45fb-8a60-b6e23d78805b/power-query-is-sooooooo-slow?forum=powerquery.

    Please help!

    Ragards


  3. Ehren (MSFT) 1,781 Reputation points Microsoft Employee
    2021-01-21T17:44:21.6+00:00

    It sounds like your PQ version is quite a bit out of date. (My Excel is running version 2.88.) Here's how you can get more recent bits:

    1. Ensure that Office is set to automatically update
    2. Check what update channel Office is using. You may be able to switch to a more up-to-date channel.

    To quickly verify whether updating will solve the performance issue, you could try your scenario in the latest version of Power BI Desktop. Let me know what you find.

    0 comments No comments

  4. Fabian Besche 1 Reputation point
    2021-01-29T09:24:59.897+00:00

    Tested File on another Maschine with 2.88 Running. Same Issue as before, as ElConquistador-3740 described and as in the Forum thread linked before.

    0 comments No comments

  5. Fabian Besche 1 Reputation point
    2021-01-29T09:30:18.66+00:00

    Impossible to work on these files because all Root Data from about 20 .xlsx files, SQL Server, Postgree Server and so on will be loaded when applying a single step in the Editor.

    Trying put the Option "Load Data in the Background" off only causes more problems because you have to refresh the Editor preview manualy.