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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
dbalkin777
Frequent Visitor

Merge Column from Folder Connector Query is Slowing Down PQ Performance

Greetings. One of my data sources is seval excel files combined using the folder connector (i.e., sample file --> final query with all excel files appended). Performance is fine in that final query, but I'm trying to merge that query (left anti join) with another query in order to remove some overlapping records. I don't know why, but merging between the two tables is untenably slow. In this merge step, I can see Power Query loading all of the files from the combined query, but it is running painfully slow. Any ideas on why this is running so slowly would be greatly appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dbalkin777 ,
Thanks for Jonvoge reply.
You can try to reduce the table size by filtering out unnecessary rows before merging. Next, create indexes on the columns you want to merge. This can help Power Query perform merge operations more efficiently. Of course, you also need to make sure that the data types of the columns you want to merge are consistent. Mismatched data types can slow down the merge process.

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
Omid_Motamedise
Super User
Super User

How many rows of data do you have befor merging?

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h
Anonymous
Not applicable

Hi @dbalkin777 ,
Thanks for Jonvoge reply.
You can try to reduce the table size by filtering out unnecessary rows before merging. Next, create indexes on the columns you want to merge. This can help Power Query perform merge operations more efficiently. Of course, you also need to make sure that the data types of the columns you want to merge are consistent. Mismatched data types can slow down the merge process.

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Jonvoge
Super User
Super User

Hi dbalkin777

 

Not sure why it is running slower.

But perhaps you could put that part of the query into a dataflow, and then connect to the Dataflow from your Semantic Model (if you are indeed building a semantic model?), and merge the other data here?

Might be worth a shot for increasing performance.

_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data

Thanks for your reponse! That idea occurred to me too but I can't set up the gateway needed to go that route due to work restrictions.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.