Get & Transform is merging records that I have filtered OUT rather than retained

anomie

New Member
Joined
Jun 20, 2017
Messages
5
I'm hoping someone out here can help me, or at least confirm that this is an issue.

I have two queries based on the same table. Both use Excel.CurrentWorkbook(){[Name="Data"]}[Content] to call the source. The table contains records of interactions with clients, and there can be more than one interaction with each client (so, there is a client ID and an interaction ID, with a bunch of other fields relevant to each interaction).

Query1 contains all records. Query2 is a subset of the interaction records that contains the duplicate record with the most complete data. Query 2 is merged with Query1 as follows:

Table.NestedJoin(#"Source",{"Client ID"},Query2,{"Client ID"},"Query2",JoinKind.LeftOuter)

The joined data, however, do NOT reflect the cases in Query2. Instead of joining to the cases in Query2, at least one of my Query1 cases gets linked to one of the cases that was filtered OUT of Query2 (not retained, and it does not appear in my Query2 results). It appears as though my join is allowing Excel to retain and join to Query1 cases that were removed from Query2 with a filter.

I hope this makes sense. I'm stumped. I know I can find a workaround, but I'd like to understand whether this is broken functionality or broken brain.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
bump - anyone? really hopeful someone can explain whether this is known behaviour or possibly my own crazy
 
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,308
Members
449,152
Latest member
PressEscape

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