How to use Power Query to keep appending table2 to table1 without VBA

mrchonginhk

Well-known Member
Joined
Dec 3, 2004
Messages
679
I am not allowed to use VBA on my project so I am trying to use PowerQuery
I have 2 tables in their respective worksheet in the same workbook.
TableA is the master data table.
TableB is new records table which is adding records per day but any record of prior day will be wiped out before new records are added.

I need to repeatedly add Table B into Table A.
I am using Excel Power Query to Append these two Tables but what it does is only stick 2 tables together based on the data now.
What I want is, for example, in day 1, Table B has record ABC.
Then I want on run query the 1st day, Table A = Original Table A + ABC
The next day when Table B is updated as XYZ,
I want on 2nd run, the Table A become
Original Table A + ABC + XYZ

Right now the Merge query is only giving me Original Table A + XYZ (ie latest Table A + Table B only) on 2nd run.
I am exploring Table.InsertRows but dunno how to make use of it in my case... pls help.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I am using this but if fails

let
Source = Table.InsertRows(Table1,0,Table.ToList(Table2))

in
Source
 
Upvote 0

Forum statistics

Threads
1,216,049
Messages
6,128,496
Members
449,455
Latest member
jesski

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top