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.
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).
User | Count |
---|---|
77 | |
76 | |
45 | |
31 | |
27 |
User | Count |
---|---|
98 | |
89 | |
52 | |
48 | |
46 |