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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Loading folder into Power BI

Capture.PNG

The excel files in a folder start like the SS. i.e., First two rows are some information and header starts on 3rd row.

When loading the folder into power BI, I want to know how I to remove first two rows from all excel files in the folder.

1 ACCEPTED SOLUTION
wdx223_Daniel
Community Champion
Community Champion

let

source=Folder.Files("your folder full path"),

custom1=Table.Combine(List.Transform(source[Content],each Table.PromoteHeaders(Table.Skip(Excel.Workbook(_)[Data]{0},2))))

in custom1

View solution in original post

1 REPLY 1
wdx223_Daniel
Community Champion
Community Champion

let

source=Folder.Files("your folder full path"),

custom1=Table.Combine(List.Transform(source[Content],each Table.PromoteHeaders(Table.Skip(Excel.Workbook(_)[Data]{0},2))))

in custom1

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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