The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Friends,
I have 3 tables related as Table1-->Table2-->Table3. Now, I need column from Table1 into Table3 (No Joins or merging). I need in front end. I Tried with Related and lookupvalue, but its not working. Please help to know the best possible way.
Thankd you
Regards,
Nayan
Hi @nayanpatel ,
You can try formula like below to create calculated column:
NewColumn = RELATED(Table1[Name])
NewColumn_ = LOOKUPVALUE(Table1[Name], Table1[ID], Table3[Table2_ID])
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI, Thank you for the response !
What if there is no relationship between table and we need to bring value from Table1 to table2 based on Matching Key.
Hi @nayanpatel ,
When you have tables linked like Table1 → Table2 → Table3 and you need to pull data from Table3 into Table1 without merging, RELATED and LOOKUPVALUE won’t work if there’s no direct relationship. Instead, you can use the TREATAS function in a measure to “virtually” bridge across those tables.
Here’s a pattern you can use:
ValueFromTable3 =
CALCULATE(
MAX(Table3[YourColumn]),
TREATAS(Table1[LinkingColumn], Table2[LinkingColumn]),
TREATAS(Table2[LinkingColumn], Table3[LinkingColumn])
)
Replace [YourColumn] and [LinkingColumn] with your actual columns. Use this as a measure (not a calculated column) in your report visuals. Make sure your linking columns are of the same data type and contain matching values for context to flow. TREATAS is a great way to get values across indirect relationships, no merge needed. If you need more help, feel free to share a sample structure (with dummy data).