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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.