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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mansiluthra12
Helper I
Helper I

RELATED gives null value

Hi Everyone , 
I have two tables say - Work (id, testid, description) and Test(id,description). 
there is a relationship between work(testid and test (id). 
I am creating a query - = RELATED('test'[description]) in work but it gives blank values. 
Can someone help to sort , what's the issue ?

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your data model looks like, but please check whether your Test table has a unique ID column.

 

Check the below picture and the attached pbix file.

 

Picture1.png

 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your data model looks like, but please check whether your Test table has a unique ID column.

 

Check the below picture and the attached pbix file.

 

Picture1.png

 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


yes, I didn't had unique column for test id.

Fowmy
Super User
Super User

@mansiluthra12 

Not clear about the type of relationship and the tables, please refer to this article: 
https://radacad.com/get-a-field-value-from-a-related-table-in-power-bi-dax-related-function-explaine...

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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