March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a table similar to the one shown below:
Col A | Col B | Condtion X |
A123 | A322 | 1 |
A322 | A300 | 0 |
A232 | A123 | 1 |
What I want to do is filter on Condition X where value is 0 and then append the corresponding Col B values to Col A for the same table. The result will look like below:
Col A | Col B | Condtion X |
A123 | A322 | 1 |
A322 | A300 | 0 |
A232 | A123 | 1 |
A300 | - | - |
Basically, I am adding to Col A the values that are in Col B but not already in Col A.
I want to do this in Power Query (M code) NOT Dax
Hope that makes some sense.
Thanks in advance
Solved! Go to Solution.
@zb134 There may be a more streamlined way to do this without duplicating the table, but off the top of my head I used the following steps:
@zb134 There may be a more streamlined way to do this without duplicating the table, but off the top of my head I used the following steps:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |