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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

Is it possible to Append Query to each Source?

I have a folder containing numerous Excel files in the same format, which I currently import by selecting Sharepoint Folder, searching up that Folder location, and then Combine/Transforming each of those Excel files. However, I want to add extra rows to each of those source Excel files.

I have a separate table that contain the rows I want to add, but if I append it will simply append to the final result. Is there a way to append or add rows from another query so that they are added to each of the source files?

1 ACCEPTED SOLUTION
spinfuzer
Solution Sage
Solution Sage

Edit The Transform Sample File and Append to the Sample File (under helper queries) instead of the main query (which is under other queries).

 

Editing the Sample File/Query will make changes to each file BEFORE combining.

 

Changes to the main query applies changes AFTER combining.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Alternatively, examine the code produced by the sample process, then throw it away and implement your own ingestion steps (including the append)  for each file in your list. That way you also avoid reading the first file twice.

spinfuzer
Solution Sage
Solution Sage

Edit The Transform Sample File and Append to the Sample File (under helper queries) instead of the main query (which is under other queries).

 

Editing the Sample File/Query will make changes to each file BEFORE combining.

 

Changes to the main query applies changes AFTER combining.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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 Solution Authors