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 three tables: A,B,C.
A has a many-to-one relationship with B.
B has one-to-many relationship with C.
I need to left join B to A, and left join C to A.
Tables A and C do not have common columns.
I know how to join B to A. But I do not know how to join C to A.
ADDCOLUMNS (
A,
"JoinedB", related (B),
"JoinedC", ?)
Could you please help me?
In SQL the code would be sth like:
Select StockCode, Warehouse
From A as a
Left join B as b on a.StockCode=b.StockCode
Left join C as c on a."StockCode&Warehouse"=C."StockCode&Warehouse".
But in the PowerBi data model I am not allowed to create neither calculated table, nor calculated columns. I must use only existing relationships.
could you pls provide some sample data and expected output?
have you tried to use merge query in PQ
Merge queries overview - Power Query | Microsoft Learn
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |