Forum Discussion

morther's avatar
morther
Helper I
8 years ago
Solved

Append new Excel data into existing Table

In PowerBI Desktop, I have an existing table that was created by choosing “New Source” >>> “Excel” and loading our July data.  The table is called “ImportCubicPMs.”  Now I would like to append the August Excel data, exact same format, into the same “ImportCubicPMs” table.  How can I append this data?

  • Hi morther

     

    If the number of columns and column names are the same, you can connect to your new excel sheet, load it in. Then in the query editor, go to your existing table and find Append Queries in Home tab. Finally, you should unclick "Enable Load" by right clicking on the new table in Queries pane.

     

    On the other hand, if you will have more files in the future like September, October, etc.. data; the better solution is to source data from Folder (by choosing “New Source” >>> “Folder” ). Make sure that both excel sheets are in the same folder and sheet names are the same. Then you can "Combine and Load".

    If you connect data this way, every new month, you can copy the new month's excel sheet into the same folder and then "refresh" from Power BI Desktop. All files in the folder (including the new one) will be loaded in and combined.

     

    More information here

     

    Hope this helps.

4 Replies

  • mede's avatar
    mede
    Resolver I

    Hi morther

     

    If the number of columns and column names are the same, you can connect to your new excel sheet, load it in. Then in the query editor, go to your existing table and find Append Queries in Home tab. Finally, you should unclick "Enable Load" by right clicking on the new table in Queries pane.

     

    On the other hand, if you will have more files in the future like September, October, etc.. data; the better solution is to source data from Folder (by choosing “New Source” >>> “Folder” ). Make sure that both excel sheets are in the same folder and sheet names are the same. Then you can "Combine and Load".

    If you connect data this way, every new month, you can copy the new month's excel sheet into the same folder and then "refresh" from Power BI Desktop. All files in the folder (including the new one) will be loaded in and combined.

     

    More information here

     

    Hope this helps.

    • morther's avatar
      morther
      Helper I

      The second part of the above post is exactly what I was looking for. This works beautifully.  Thank you so much

    • Asim's avatar
      Asim
      Helper I

      Hello !
      I am a newbie in power bi and have a little query regarding refreshing excel data.

      Is it possible to load the most recent data without disturbing the calculated columns?
      I have created a pbix file where I have data table for 28 dec’18 along with calculated columns which i created to get some calculations like efficiency and machine utilization.
      How to replace 29 dec’18 data with the existing data without removing calculated columns.

      Thanks in advance

    • Anonymous's avatar
      Anonymous
      Not applicable

      I tried using the solution but when loading the data i keep getting an error message "Loading blocked by failure with other queries".

       

      Please help.

       

      Ben