Why does Power Query slow down significantly after merging multiple large tables

0 votes

Why does Power Query slow down significantly after merging multiple large tables?
Merging large tables in Power Query often leads to performance issues, such as long load times and memory exhaustion. This question delves into the underlying reasons for these slowdowns—such as row-by-row evaluation, lack of query folding, or inefficient joins—and explores best practices to optimize merges in large-scale ETL scenarios.

4 hours ago in Power BI by Evanjalin
• 30,500 points
9 views

1 answer to this question.

0 votes

After merging large tables, Power Query lags primarily because of:

  • Power BI must process data locally rather than pushing operations to the source due to a lack of query folding.
  • Evaluation of each row during joins, particularly in cases where merge keys have mismatched data types or are not indexed.
  • Merging on non-unique columns or using inefficient join types (like full outer joins) lengthen processing times and use more memory.

Tips for optimization:

  • Make sure the merge keys are indexed and clean.
  • When feasible, use left/right joins rather than complete joins.
  • Reduce the number of rows by applying filters prior to merges.
  • Use the query diagnostics tools to see if folding is supported in the merge step.
  • When working with big datasets, these procedures help keep performance stable. 
answered 4 hours ago by anonymous
• 30,500 points

Related Questions In Power BI

0 votes
0 answers

How do you handle data type mismatches or conversion errors in Power Query when merging or appending tables?

How do you handle data type mismatches ...READ MORE

Oct 30, 2024 in Power BI by Evanjalin
• 30,500 points
355 views
0 votes
0 answers

What strategies do you use to avoid redundant transformations in Power Query that slow down data refresh?

What strategies do you use to avoid ...READ MORE

Nov 5, 2024 in Power BI by Evanjalin
• 30,500 points
316 views
0 votes
1 answer

Power Query : Adding Columns and Multiple files

The following call, FirstRowAsHeader = Table.PromoteHeaders(TableWithoutHeader) shall replace the ...READ MORE

answered Feb 14, 2019 in Power BI by Upasana
• 8,620 points
1,981 views
0 votes
4 answers

How to combine multiple tables in power BI?

Click Advanced Editor and check if step #"Appended ...READ MORE

answered Dec 16, 2020 in Power BI by Roshni
• 10,440 points
74,687 views
0 votes
1 answer

How to export Power Queries from One Workbook to Another with VBA?

Try solving it using the Workbook. Query ...READ MORE

answered Oct 22, 2018 in Power BI by Annie97
• 2,160 points
7,182 views
0 votes
1 answer

Excel Power Query: Using List.MatchAny on a column value

try this. let TableA = ...READ MORE

answered Oct 22, 2018 in Power BI by Annie97
• 2,160 points
4,674 views
0 votes
1 answer

How can I search for multiple strings?

A simple solution is this: List.ContainsAny(Text.SplitAny("This is a test ...READ MORE

answered Oct 24, 2018 in Power BI by Upasana
• 160 points
5,028 views
0 votes
1 answer

Power Query Web request results in “CR must be followed by LF” Error

What I think is, it might look ...READ MORE

answered Oct 29, 2018 in Power BI by Shubham
• 13,490 points
2,182 views
0 votes
1 answer

Why does my Power BI report take so long to refresh when using multiple complex calculated tables?

Power BI Table Refresh Dynamics Unlike imported tables, ...READ MORE

answered Mar 11 in Power BI by anonymous
• 30,500 points
191 views
0 votes
1 answer

Why does ALLSELECTED in my DAX query return unexpected results, and how can I debug or fix it?

The ALLSELECTED function in DAX is used ...READ MORE

answered Feb 28 in Power BI by anonymous
• 30,500 points
227 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP