Power Query: Combine Files, delete row1, promote row2 as headers

SOQLee

Board Regular
Joined
Mar 18, 2015
Messages
58
Office Version
  1. 365
Platform
  1. Windows
I'm trying to combine files in PQ that have an extra row above the headers.

How would I combine these files by deleting Row1 and promoting Row2 as headers?


Count5
IDActionDate
11111INP18-Oct
22222INP19-Oct
33333INP20-Oct
44444CLOSED21-Oct
55555INP22-Oct

<tbody>
</tbody>

Count3
IDActionDate
66666CLOSED18-Oct
77777INP19-Oct
88888INP20-Oct

<tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
sure but we don't know your wonderful M functions and queries with parameter
 
Last edited:
Upvote 0
1. Save all the files in the same folder

2 On the Excel 2016 menu bar choose Data-->New Query --> From File --> From Folder

3. After choosing the folder; choose the Combine & Edit . Choose OK in the next screen.

4. Go to Workbook Queries editor and select the Transform Sample File. This is the base table for the formula you create prior to work. Make all changes here. Remove first row, promote headers...etc.
 
Upvote 0
I don't see any M function and any parameter, :confused: but if it works for you that's great

have a nice day
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,188
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top