Jul 03 2018
05:41 AM
- last edited on
Jul 12 2019
11:10 AM
by
TechCommunityAP
Jul 03 2018
05:41 AM
- last edited on
Jul 12 2019
11:10 AM
by
TechCommunityAP
Hello,
I want to read the files in a folder, but those files needs some transformation before I can combine them with power query. Normally what i would do if all of them were in a table format is to combine them and load but since the data in each file is not fully structure if i do this i won´t get correct data.
I have many files that before the combination need to:
1-Remove the first 10 rows of each since they are empty.
2-Unpivot columns.
How can i do this with Power Query before combining them in a massive way?
Jul 04 2018 04:17 AM
Solution
Start with Combine and Edit
Then do your transformations (removing rows and unpivotting) in the Transform Sample File step
Those transformations will then be applied to all the files as they are pulled in.
Jul 04 2018 04:18 AM
Jul 05 2018 12:22 AM
Oct 22 2020 09:19 AM
@Wyn Hopkins I have done this multiple times, however, the buttons at the bottom, combine and load, are no longer available.
I am using Excel 2016
Oct 23 2020 03:39 AM
Jul 04 2018 04:17 AM
Solution
Start with Combine and Edit
Then do your transformations (removing rows and unpivotting) in the Transform Sample File step
Those transformations will then be applied to all the files as they are pulled in.