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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

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.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Kudoed Authors