Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
Just wanted to ask how I can merge excel files in power query. I have connected to my sharepoint folder and will be adding excel files weekly. These files remain relatively similar but sometimes may change from time to time. The only change is new columns will be added.
Do I have to enter power query editor to add in the new excel file and append each time a new file is added or is there a way to automate it? Thank you!
Solved! Go to Solution.
Thereafter, all files meeting that same filter critera will be added to the query.
You say the files will remain "relatively similar." They are either the same or they are not. If they are not, the query can fail unless you had some more sophisticated M code to handle those differences, including the addition or removal of columns from the first file in that folder. The query will use that file as a model for the rest and it expects them to be the same format. Row count doesn't matter. Column count, names, etc. does matter.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting
Thereafter, all files meeting that same filter critera will be added to the query.
You say the files will remain "relatively similar." They are either the same or they are not. If they are not, the query can fail unless you had some more sophisticated M code to handle those differences, including the addition or removal of columns from the first file in that folder. The query will use that file as a model for the rest and it expects them to be the same format. Row count doesn't matter. Column count, names, etc. does matter.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |