Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Removing data with the same values in a specific column between 2 different queries

I have data from 2 queries in Power Query. We'll call them A and B. Both queries return a number of columns, including a date column. I need to represent both A and B as a stacked bar chart showing h...
  • DataInsights's avatar
    3 years ago

    Anonymous,

     

    I would use an anti join in Power Query. Exclude the duplicate rows in TableB, and then append the remaining rows to TableA.

     

    1. Create a left anti join:

     

     

    2. Remove column "TableA" and name this table TableBAntiJoin:

     

     

    3. Append TableA to TableBAntiJoin:

     

    4. Result: