02Chapter 2: Connecting to a folderThis chapter covers the first step of every folder-combine workflow: pointing Power Query at a folder and getting back a list of its files. It assumes you can use Excel tables and the Data ribbon, and that you know what CSV and .xlsx files are. You need Excel 2016 or later, or Microsoft 365, with Po6 min read
03Chapter 3: Understanding the file listThis chapter assumes you can open the Power Query editor and select, filter, and sort columns in it. It also assumes you know the difference between a CSV file and an .xlsx workbook. Here you will learn what the table returned by the From Folder connector contains, so that later chapters on filterin7 min read
04Chapter 4: Choosing which files to combineThis chapter assumes you can open the Power Query editor, you know how to connect to a folder with Data > Get Data > From File > From Folder, and you have seen the file list that connector returns (Content, Name, Extension, Date modified, Folder Path). Here you will learn how to filter that list5 min read
05Chapter 5: Combining with Combine & Transform DataThis chapter covers the Combine & Transform Data command, the step that turns a list of files into one table. It assumes you can open the Power Query editor, connect to a folder with From Folder, and filter the file list to the files you want. Those steps come from earlier chapters. You should also 5 min read
06Chapter 6: What Excel creates for you: sample file, parameter and functionThis chapter covers what happens after you click Combine & Transform Data on a folder. It assumes you can connect to a folder, read the file list (Content, Name, Extension, Date modified, Folder Path), and filter it. It also assumes you know the Power Query editor's Queries pane and Applied Step5 min read
07Chapter 7: Cleaning the sample file once for all filesThis chapter assumes you can already connect to a folder, filter the file list, and run Combine & Transform Data. It also assumes you have seen the helper queries Excel generates. Here you will learn where per-file cleanup belongs, how to edit it, and which edits cause trouble when files differ.5 min read
08Chapter 8: Keeping track of which file each row came fromOnce you combine a folder of files, every row sits in one big table. The question "which file did this row come from?" is easy to answer while the data is still split into files. It gets hard after the merge, unless you keep the file name on purpose. This chapter shows how to keep that information, 5 min read
09Chapter 9: Setting data types on the combined tableThis chapter assumes you can open the Power Query editor, you have already combined a folder of files with Combine & Transform Data, and you know what the generated sample file query and function query do. Here you will set data types on the combined table, understand where in the query to do it, an6 min read
10Chapter 10: Why files must share a structureThis chapter assumes you can open Power Query from Data > Get Data and that you have run Combine & Transform Data on a folder at least once. It also assumes you know the sample file, parameter and function queries that command creates. Here you learn why the combine step only works when the files lo5 min read
11Chapter 11: Loading the result and refreshing as files changeThis chapter assumes you can build a combined folder query with Combine & Transform Data. It also assumes you know what the Power Query editor's Close & Load button does. Here you decide where the result goes and how it stays current as files arrive, change, or disappear. You also learn what6 min read
12Chapter 12: Reading the M codeThis chapter assumes you can already connect to a folder, filter the file list, and run Combine & Transform Data. It explains the M code (the Power Query formula language) behind those steps. You will learn to read it, spot where each step came from, and change it safely.5 min read
13Chapter 13: Writing your own combine queryThis chapter assumes you can read basic M, the language behind Power Query. It also assumes you have used Folder.Files and know what the Combine & Transform Data command generates. Here you replace the generated sample file, parameter and function queries with one query that you control.4 min read
14Chapter 14: Making the folder path easy to changeThis chapter assumes you can already connect to a folder, filter the file list, and use Combine & Transform Data. You should also be comfortable opening the Power Query editor and the Advanced Editor. Here you will replace the hard-coded folder path with a parameter. That lets you point the same que6 min read
15Chapter 15: Troubleshooting common problemsThis chapter covers the errors that most often appear after a folder query has been working. It assumes you can already build a folder query with Combine & Transform Data, edit the Transform Sample File query, and refresh a loaded table. It also assumes you have read the chapters on file structure a7 min read