Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a table that I am trying merge into the same table with some specific conditions
Table contains:
First I merged based one into the other:
= Table.NestedJoin(#"Filtered Rows", {"Father"}, #"Filtered Rows", {"Father"}, "MergedTable", JoinKind.LeftOuter)
NowI want to select only those rows that have:
Any tips how to achieve it?
thanks
Solved! Go to Solution.
= Table.AddColumn(#"Merged Queries", "Custom", each Table.SelectRows([MergedTable],
(Magic) =>
(Magic[Index]<[Index]) and
(Magic[Level]=([Level]-1))))
= Table.AddColumn(#"Merged Queries", "Custom", each Table.SelectRows([MergedTable],
(Magic) =>
(Magic[Index]<[Index]) and
(Magic[Level]=([Level]-1))))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |