Power Query Appending new CSV files to an EXISTING Excel table

meg_a_bytes

New Member
Joined
Jan 11, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I have researched but can't find specific instructions on how to append new monthly CSV files to an existing Excel Table. The table is a collection of all of the previous month's CSV's. All of the example i have found explain how to import CSV's to a new table. I have been doing this in the past but now the list of existing CSV's (old and new) is getting long and i don't see a need to re-import previous month CSV's. My current workflow is to extract, transform the CSV's to make them all consistent then load them to a new worksheet and table. Is there a way of preserving the previous month's table and just adding the new month's CSV's? I'm not interested in in doing any VBA code if that is the only solution.
 
i was not implying that YOUR solution was to copy anything. I was coming to the conclusion that if i created tblNewMonth, i could simply cut and paste it into tblTransactions!
relax
Or just click Refresh All. No opening another file, no copy, no paste. Watch this video, particularly Example 3. Then decide. I'm done here though.
 
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You can try to
  1. Buffer the previous result, by loading it from table/ range. Copy/ paste this above the original source step. Wrap inside Table.Buffer
  2. At the end of your Query add a step using table.combine( buffered query, previous step)
  3. Save
This way you are not re-importing. But buffering also takes up memory.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,953
Members
449,095
Latest member
nmaske

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