Power Query - Rows from 1st table in left outer join disappear after expand step where I remove the matching column

PM1985

New Member
Joined
Nov 13, 2011
Messages
7
Dear experts,

I am new in Power Query,

I am doing a left join based on 1st table "INPUT LFB1 KNB1" and second table "Input LFBK/KNBK" based on matching column "LIFNR/KUNR".


1636021750701.png

After 1st step everything seems fine:

1636021867156.png

But then I want to remove the LIFNR/KUNNR from second table and expand the rest:
1636021906706.png

And then the first rows disappear, namely the ones which did not have entries in second table:

This does not make any sense for me since it is a left join, so it should keep all rows from 1st table

1636022587208.png


This is the generated code
1636022682609.png

I thank you very much for any tip on this issue.

Thanks a lot.
Pedro
 

Attachments

  • 1636021671910.png
    1636021671910.png
    159.9 KB · Views: 17

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Just curious, have you done a record count ?
Are you sure it is not just the sort order that has changed and the rows are still there just not at the top ?
 
Upvote 0
Hello Alex,

you are right, for some reason it puts the rows in the bottom for which the left join did not add items from 2nd table. It is strange behavior for me, but the puzzle is solved:)

thanks a lot.
Pedro
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,021
Members
449,092
Latest member
ikke

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