Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
AlexAlberga727
Resolver II
Resolver II

Changing a Template within Files used to import data from a Folder

Folks - 

 

For the last ~18 months I have built out an extensive data model utilizing many different tables. Some of the tables are being generated by excel files saved within a folder. Utilizing the folder import option and intilizing the model was very helpful. I refresh everyday, and obtain the new data for the day. However, I not have a need to add an additional column in the excel file.

 

In the past when I wasnt so far ahead - I changed every file to include this new column and simply set up the query from scratch. I'm sure this is a more effecient way to simply add a new column in my excel files and alter some confirgurations within Power BI/Power Query to pick up the new columns without having to edit all the other files to also include this new column. 

 

When I'm pointing to a single file - I am able to make changes within the advanced editor. Here, I notice Power Query has created a "Transform Sample File" which I bleieve is what Power Query is sampling to store all the 'Applied Steps'. Correct me if im wrong.

 

I'm simply adding a new column to the excel file. Can I somehow have the power query recognize this new column without everything else breaking?

 

If more information, or detail is required, please let me know. Thanks!

 

1 REPLY 1
ImkeF
Community Champion
Community Champion

Hi @AlexAlberga727 ,

if you haven't broken the transformation function, all changes you make in the query "Transform Sample File" will automagically be applied to all the files in the folder. Thats the whole "trick" with the from-folder-import method. Please see this blgopost for example: https://www.myonlinetraininghub.com/power-query-get-files-from-a-folder

 

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors