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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors