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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
VitorPereira
New Member

Issue with relationship

Hi, I'm not sure why I can't use relate function to one of my tables. Basically everything looks good between the relationship. This is the context: In table "interaction_source" I need to create a column to bring the "task" column in "Interactive_Related" table, so I'm using. 

 

 

Related task = RELATED(Interactive_Related[task])

 

 

This is because I need to count blank values that will come in interaction_source new column, that's why this is a *:1.

I notice that when I type the Related function it's not populating the options of the related table, indicating some issue on the relationship. Can someone help to find out why it's getting this issue??tempsnip.png

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

@VitorPereira 

 

if you are creating a column in the table at the many side of the relationship, use RELATED 

 

if you are creating a colum in the table at the one side of the relationship , you should use relatedtable .

 

NB : relatedtable returns a table , so you need to use relatedtable with an iterator or countrows()  etc.. . 

 

 

let me know if that works for you .

 

 

 

If this answers your question  ,  mark it as the solution so can you can help  other people in the community find it easily .

 

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

@VitorPereira 

 

if you are creating a column in the table at the many side of the relationship, use RELATED 

 

if you are creating a colum in the table at the one side of the relationship , you should use relatedtable .

 

NB : relatedtable returns a table , so you need to use relatedtable with an iterator or countrows()  etc.. . 

 

 

let me know if that works for you .

 

 

 

If this answers your question  ,  mark it as the solution so can you can help  other people in the community find it easily .

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.