Forum Discussion

arunbyc's avatar
arunbyc
Helper III
1 year ago
Solved

SQL join/Union versus Power Query - Power BI performance and Load on Database to run the View

I noted several messages suggesting SQL queries are better to use for joining large tables than using Power BI merge.  The following thread is just one example: https://community.fabric.microsoft.c...
  • danextian's avatar
    1 year ago

    Hi arunbyc 

     

    However, I was told that if I do the transformations in Power BI (instead of using the SQL view), once the data is loaded, Power BI has to load only the changes to the original data thus reducing the time for subsequent loads and also reducing the load on the database each time the report is run. Is this correct?

     

    Power BI does have a feature called Incremental Refresh, which allows only changes (e.g., new or updated rows) to be loaded after the initial load. However, this requires explicit setup and configuration in Power BI, such as using range partitioning on a datetime column. So without setting this up, you are pulling all rows from the database with every refresh, not just the new or updated ones.

     

     

     

  • govind_021's avatar
    1 year ago

    Hey  ,
    It is correct that we should always try to push all the complex data transformations step to the source , it reduces the load to power bi to process and transform the data which is why we have option called query folding in power bi , which pushes all the data transformation to the source.
    So , always try to do the transformation to the source and then bring the refined data to power bi , so that power bi have to load and catch less low no of queries everytime user use the report.

    Thank You Best Regards,
    Govind Sapkade
    Data Analyst | Power BI Enthusiast | Microsoft PL 300 Certified Power BI Data Analyst | MS Fabric Enthusiast
    🎥Subscribe to my youtube channel for hands on tutorials : YouTube Channel

    📊Let’s connect on Linkdin : Linkdin Profile

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi, arunbyc 

    May I ask if you have gotten this issue resolved? If it is solved, please share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

     

    If it hasn't been resolved yet, please share more details about the issue you're having and we'll do our best to help you solve the problem you're having.

     

     

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
    Best Regards,
    Fen Ling,
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.