
In Excel, click Data -> Get Data -> From File -> From Folder

The examples in this post use the following files: Then you’ll be able to work along with examples and see the solution in action, plus the file will be useful for future reference.ĭownload the file: Power Query – Example Files I recommend you download the example file for this post. Power Query is magic, but you’ve got to give it a reasonable chance. All the files to be imported must follow a similar structure and column pattern. This can save you hours and hours.īefore we get started on this technique, there is one point which I need to make you aware of. That’s powerful stuff, right! If we want to add another file into the output table, we only have to save a copy of the file in the folder and click refresh, the new file will be imported too. We give Power Query a folder path, click a few buttons and it will import and combine all the files into a single table. In this post, we are looking at using Power Query to import all the files in a folder.
