Forum Discussion

KenHardwick's avatar
KenHardwick
Frequent Visitor
7 years ago

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?

 

6 Replies

  • tex628's avatar
    tex628
    Icon for Community Champion rankCommunity Champion

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

    • KenHardwick's avatar
      KenHardwick
      Frequent Visitor

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

      • tex628's avatar
        tex628
        Icon for Community Champion rankCommunity Champion

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.