Result as below. Brought each table into Power Query. Joined tables with outer join
Excel 2016 (Windows) 32 bit
|
E |
F |
G |
1 |
Heading 1 |
Heading 2 |
Export.Heading 1 |
2 |
ghi |
CD |
1234A |
3 |
def |
AB |
6543F |
4 |
stu |
KL |
8765R |
5 |
jkl |
EF |
987U |
6 |
mno |
GH |
57648Z |
7 |
pqr |
IJ |
982L |
Mcode for join
Review PQ
In the attached file
Click on any cell in the new table
On the Data Tab, click on Queries & Connections
In the right window, double click to open Query
Review PQ steps
M-code basics:
- "let" is the start of a query
- "in" is the closing of a query
- each transformation step sits in between those 2 lines
- each step line is ended by a comma, except the last one
- "Source" is always the first step (Source Data)
- After "in" you have the last step referenced
Bookmarks