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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

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

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.