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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I'm trying to join two tables via custom function. The tables have to merge with a LeftOuter join multiple times (so a loop in the custom function is requiered).
Table one is the leading table,
For every column (except the first column "Anzahl.oo_id - Kopie") in table one a join have to be made.
In table two there will be used the column ("id") for every join.
This is how far I can get with my limited knowledge.
() =>
let
#"Zusammenführte Abfragen" = Table.NestedJoin({"Price_Amount__unit"},#"pimcore units",{"id"},"pimcore units",JoinKind.LeftOuter),
#"Erweiterte pimcore units" = Table.ExpandTableColumn(#"Zusammenführte Abfragen", "pimcore units", {"abbreviation"}, {"pimcore units.abbreviation"})
in
#"Erweiterte pimcore units"I hope someone can help me and thanks in advance.
Solved! Go to Solution.
@Anonymous,
Take a good look at parameters of Table.NestedJoin.
@Anonymous,
Take a good look at parameters of Table.NestedJoin.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 24 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 16 |