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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Random_Number
New Member

How do I erase the "Transform File from ..." Folders?

Hello,

 

when importing a folder with several spreadsheets I get the "Transform File from ..." folders, including Parameter, Sample File, etc. How do I erase them, because they seem to be connected with the main query? But I do not need them.

5 REPLIES 5
raisurrahman
Helper II
Helper II

 

@Random_Number please see query dependencies before deleting anything..... 

 

2025-12-02_22-21-00.png

markes
Frequent Visitor

If you're doing something simple enough, the tips at https://exceleratorbi.com.au/combine-all-sheets-in-a-workbook-with-power-query/ may be helpful. The main idea is: "Copy the code from the advanced editor into a text editor like notepad to save for reuse, and then rebuild your query manually using methods that don't generate the helper queries like "click on binary and then replace the filename reference with a relative reference like {0}" and/or defining a custom function"

(For "grabbing the latest version of a file", I prefer to filter "Date Modified by latest" rather than sort by date, but it seems either can work.)

If your filenames are stable, you can also probably merge the helper queries with the regular ones, but that may be a pain depending on details.

ppm1
Solution Sage
Solution Sage

While they are referenced, you can't delete them. The only way is to modify the function or to create a new custom function that does the same thing.

https://www.youtube.com/watch?v=6cGou1-1FOo

 

Pat

Microsoft Employee
Anonymous
Not applicable

Go to your main query and delete the Invoke Custom Function step. Then you can delete the Transform files.

 

--Nate

Thank you for your answer. But it looks like that the other steps are still referring to this step so there is always an error.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.