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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
KenHardwick
Frequent Visitor

Merge queries painfully slow

Hello,

 

I am writing a new report in Power BI that requires me to merge two tables/queries together which I have done via the merge as new function.

 

When I do a refresh the data the standard tables load rapidly but when it comes to the merge query, it sits for a few minutes "waiting for dsn...". The image below shows what I am loading which isn't a large amount of data. The first four queries load in 8 seconds but the merge took 5 minutes before completing.

 

I have spent the weekend trying to figure this out and have deselected "Allow data preview to download in the background", this being a common thing to do to improve performance.

 

Does anyone know why the merge is reducing the refresh to a crawl?

 

Data load.JPG

6 REPLIES 6
SRIJELLA
Frequent Visitor

I do facing same kind of scenarion. Merging 6 tables and each tables is having 4 coulms and date,text and number type colums exist. when i make small change then merge query is taking lot time for evalution and waiting for DSN.

 

How to improve the performace.

tex628
Community Champion
Community Champion

What is the dataformat on the columns that you are using for your merge?


Connect on LinkedIn

Currently, the tables are still in their original formats within our ERP system so will be various formats.

But I mean you're doing the merge in power query right? 


Connect on LinkedIn

Thats right. 

In that case you are using 2 or more columns to perform that merge. What I'm interested in is which datatype these columns have prior to the merge, as that can greatly affect the performance. 🙂


Connect on LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.