Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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))))
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |