Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Keeping only unique values from two (or more) tables

Hello,   I am using Excel (Office 365) and I'm currently struggling with a problem that actually has multiple parts which I will try to describe.   The first thing is that I have two bigger table...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Interesting scenario!

     

    Here's how you do it:

     

    = let columnNames = {"SomeData"}, addCount = Table.Group(Source, columnNames, {{"Count", Table.RowCount, type number}}), selectUniques = Table.SelectRows(addCount, each [Count] = 1), removeCount = Table.RemoveColumns(selectUniques, "Count") in Table.Join(Source, columnNames, removeCount, columnNames, JoinKind.Inner)

     

    That's it!

     

    --Nate