Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Have several tables that need Joining to a single 'master'. Assuming there are no steps between each join, what is the best practice?
Hi @jcountryman ,
Based on my test, you may use the second way to deal with your data and refer to blow issue:
Regards,
Daniel He
Thank you, but that doesn't quite address my question. Which is more efficient?
#"Step1" = Table.NestedJoin(MASTER,{"UID"},TABLE_1,{"UID"},"SUB_TABLE_1"), #"Step2" = Table.NestedJoin(#"Step1",{"UID"},TABLE_2,{"UID"},"SUB_TABLE_2"), #"Step3" = Table.NestedJoin(#"Step2",{"UID"},TABLE_3,{"UID"},"SUB_TABLE_3"), #"Step4" = Table.ExpandTableColumn(#"Step3","SUB_TABLE_1",{"Col2","Col3"}), #"Step5" = Table.ExpandTableColumn(#"Step4","SUB_TABLE_2",{"Col4","Col5"}), #"Step6" = Table.ExpandTableColumn(#"Step5","SUB_TABLE_3",{"Col6","Col7"})
#"Step1" = Table.ExpandTableColumn(
Table.NestedJoin(MASTER,{"UID"},TABLE_1,{"UID"},"SUB_TABLE_1"),
"SUB_TABLE_1",
{"Col2","Col3"}
), #"Step2" = Table.ExpandTableColumn(
Table.NestedJoin(#"Step1",{"UID"},TABLE_2,{"UID"},"SUB_TABLE_2"),
"SUB_TABLE_2",
{"Col4","Col5"}
), #"Step3" = Table.ExpandTableColumn(
Table.NestedJoin(#"Step2",{"UID"},TABLE_3,{"UID"},"SUB_TABLE_3"),
"SUB_TABLE_3",
{"Col6","Col7"}
)
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |