Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a sharepoint folder with csv files. There will be a file uploaded to this folder each day. Filename will have the date prefixed for each file. The problem is each file have first 10 rows as in different format so i need to remove those rows. Since there is a file for each day, i am looking to see if there is a way to remove first 10 rows from all the files at once. Can anyone help with transform that i need to use here. Thanks
to know how to do this watch my video
Table.TransformColumns( #"Removed Columns",{"Data" , (x) => Table.Skip( Table.PromoteHeaders(x),10)})
Hi,
You will have to use the Table.Skip function in a Custom Column.
Hi @Anonymous
In your query add a step : Home tab, click on Remove Rows -> Remove Top Rows then enter 10
Phil
Proud to be a Super User!
this will only remove first 10 rows from the first file. I want this to work for all the files in the folder.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |