Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

How to append data from another table upon refresh?

Hi

I want to append a table data with other table, where table one is refreshed with new data. So how can i append the final table with a refresh.

 

E.g: Table1: 

Table 2: 

Once the table 2 is updated upon refresh, Table 1 should be appended with table 2 data as below:

 

I tried with Append Queries and try to remove 'Inclue in report refresh' option in query editor on the table1, but it didn't help.

 

Can you suggest what is the best way to append these two tables upon refresh?

 

Thanks

 

 

 

 

 

 

 

10 Replies

  • venal's avatar
    venal
    Memorable Member

    For table2 - disable the "Enable Load" in Edit Queries and enable the "Include in report refresh".

  • venal's avatar
    venal
    Memorable Member

    1. Table1

    2. Table2

    3. Home >> Edit Queries >> Edit Queries >> Append Queries

    4. Append Queries Screen >> Two Tables (Enable the radio button) >> Table to append >> select "Table2" >> Click on "Ok".

    5. Once it's done, right click on the table2 and disable the "Enable Load" and enable the "Include in report refresh".

    6. So that you will get the latest data in Power Bi.

    7. If you enable the "Enable Load" for table2, it will load into the data model and it will display in the "Data View and Report View".

    8. As both tables data are appended into Table1, better to disable the "Enable load" to avoid the performance issues.

     

    Hope it will help you to resolve your query.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi venal ,

      Sorry for coming back late. But I think this doesn't seem to update the data from previous and append it. I could still see that table is just refreshed with new data (new date). 

       

      How can I make this workable?

       

      This is my changes done as you suggested:

      Table 2: with latest data as per date.

       

      Table 1: Table which needs to be appended with Table 2. This has data for previous dates. 

       

       

      Let me know if I missed anything?

       

      The table 1 has to be appended, but it seems to be replacing the data from table 2.

       

      Regards