Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Please, I need your tips.
I have two grouped columns in one table.
How can I compare it and demonstrate the difference? Power Query solution.
I've found VBA but in power query can not 😞
Colors Set A Colors Set B Result A to B Result B to A
A | B | Result A to B | Result B to A |
red;blue;green | yellow;purple;red | blue;green | yellow;purple |
white;green;red | yellow;red | white;green | yellow |
Solved! Go to Solution.
Text.Combine(
List.Difference(
Text.Split([A],";"),
Text.Split([B],";")),
";#(lf)"))
Stéphane
can I get cells with text in new line?
A | B | Result A to B | Result B to A |
red;blue;green | yellow;purple;red | blue; green | yellow; purple |
white;green;red | yellow;red;purple | white; green | yellow; purple |
Text.Combine(
List.Difference(
Text.Split([A],";"),
Text.Split([B],";")),
";#(lf)"))
Stéphane
Hi, @MykytYla
Result A to B
Text.Combine(
List.Difference(
Text.Split([A],";"),
Text.Split([B],";")),
";")
Result B to A
Text.Combine(
List.Difference(
Text.Split([B],";"),
Text.Split([A],";")),
";")
Stéphane
@slorin Thank you so much!
It looks such easy but I couldn't handle it.
PS. Could you advise me any good studying for formulas power query and DAX?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
23 | |
11 | |
10 | |
10 | |
9 |