Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
I am trying to join the two tables in the snippet below but having error. please can i need advice on how to resolve the error.
Thank you.
Solved! Go to Solution.
Hello @Anonymous,
i recommend that you create a bridge table so that you can establish a "1 to n" and an "n to 1" relationship between your tables.
Code Query BrideTableGLAccountNo:
let
BudgetGL = Table.SelectColumns(#"Budget GL", {"G_L_Account_No"}),
Actuals = Table.SelectColumns(#"Actuals XXX", {"G_L_Account_No"}),
Combined = Table.Combine({BudgetGL, Actuals}),
RemovedDuplicates = Table.Distinct(Combined)
in
RemovedDuplicates
Best regards from Germany
Manuel Bolz
If this post helped you, please consider Accept as Solution so other members can find it faster.
🤝Follow me on LinkedIn
Hi,
Thanks for the solution @ManuelBolz provided, and i want to offer some more information for user to refer to.
hello @Anonymous , as @ManuelBolz mentioned, you can create a new table as a brigdge table, you can also use calculated table. you can refer to the following solution.
Sample data is the same as you provided.
Create a new table
Bridge = DISTINCT(UNION(VALUES('Budget GL'[G_L_Account]),VALUES(Actual[G_L_Account])))
Then create relationships amont the tables
And you can refer to the following link.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Thanks for the solution @ManuelBolz provided, and i want to offer some more information for user to refer to.
hello @Anonymous , as @ManuelBolz mentioned, you can create a new table as a brigdge table, you can also use calculated table. you can refer to the following solution.
Sample data is the same as you provided.
Create a new table
Bridge = DISTINCT(UNION(VALUES('Budget GL'[G_L_Account]),VALUES(Actual[G_L_Account])))
Then create relationships amont the tables
And you can refer to the following link.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks so muuch! @Anonymous
Hello @Anonymous,
i recommend that you create a bridge table so that you can establish a "1 to n" and an "n to 1" relationship between your tables.
Code Query BrideTableGLAccountNo:
let
BudgetGL = Table.SelectColumns(#"Budget GL", {"G_L_Account_No"}),
Actuals = Table.SelectColumns(#"Actuals XXX", {"G_L_Account_No"}),
Combined = Table.Combine({BudgetGL, Actuals}),
RemovedDuplicates = Table.Distinct(Combined)
in
RemovedDuplicates
Best regards from Germany
Manuel Bolz
If this post helped you, please consider Accept as Solution so other members can find it faster.
🤝Follow me on LinkedIn
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |