Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
nayanpatel
New Member

Data from table using relationship are not populated

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

3 REPLIES 3
Anonymous
Not applicable

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])

vkongfanfmsft_1-1738573959722.png

 

vkongfanfmsft_0-1738573949363.png

 

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.

rohit1991
Super User
Super User

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).


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.