Forum Discussion

PowerTripQuery's avatar
PowerTripQuery
Copper Contributor
Aug 05, 2024
Solved

Power Query Rows Loaded Count

Good day.   I have filtered queries that merge into a single query. The end result in Excel is about 20,000 rows. When refreshing, it counts up to 3.6 million rows.   This is problematic for spee...
  • SergeiBaklan's avatar
    Aug 05, 2024

    PowerTripQuery 

    Power Query doesn't keep resulting tables in memory, it re-evaluates each time it is called.

     

    Let assume you have

    Query1 with 1M rows

    Query2 with 1M rows

    Query3 which merge Query1 and Query2 and gives another 1M rows

    Q4 (query or step, doesn't matter) which filter Query3 down to 100 rows

     

    When you call Q4 it evaluates Q1, when Q2, when Q3 which means you are loading on this step at least 3M rows.

     

    How to minimize, if possible, very depends on concrete queries and steps.