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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
DotU
Frequent Visitor

Will changing the "transform sample file" query cause all dataflow data to be dropped?

I have a dataflow which reads ALL the excel files being saved to a SP Folder.

Each Excel file is standard: exactly same column names, etc.
The dataflow has incremental refresh, so it only reads new files from last 15 days and older data which has already been read stays as it is.

Over the span of a few months of saving our files in the dedicated location, we have successfully collected data from 800+files.

I need to update the helper query (transform sample file query) to make it more efficient. I will not be adding any new columns, the final schema will be the same as it is now. Will doing this cause all the data to be dropped and re-read? Or would the new (more efficient) transformation steps only be applied to future files?

If needed, I can share the queries if that would help to make the question more clear.

Many thanks!

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi   @DotU 

 

"Transform sample file" query allows work in a group of files through just one function and make transformations in file combination automatically, which will refresh the dataflow and apply to all dataflow data.

 

When you apply "Transform sample file" query, it will ask you refresh dataflow.  If you refresh dataflow, it only refresh data and will not cause all the data to be dropped.

 

 p4.png

 Picture2.png

 

For details on transform sample file, please refer to the documentations:

Using custom functions in Power Query - Power Query | Microsoft Docs

Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Docs

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors