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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

RELATED function

Hi,

one of my table has Many to Many cardinality, and when I try to use RELATED , the option to select coloumn from that table is not there; this means that RELATED cannot work with Many to Many relations, is that a correct assumption.

Thanks,

Siddharth

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@Anonymous 

yes, related() can not understand what column is relatedin many-to-many relationships

See remarks here https://docs.microsoft.com/en-Us/dax/related-function-dax

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi  @Anonymous 

RELATED function returns a related value from another table.

For your case, it is a Many to Many cardinality, so you may try RELATEDTABLE Function to create a column as below:

MAXX(RELATEDTABLE('Table'),[Column])

or create a column as below:

CONCATENATEX(RELATEDTABLE('Table'),[Column],",")

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-lili6-msft 

Thanks, these are 2 very useful DAX formulas.

Rgds,

Siddharth

az38
Community Champion
Community Champion

@Anonymous 

yes, related() can not understand what column is relatedin many-to-many relationships

See remarks here https://docs.microsoft.com/en-Us/dax/related-function-dax

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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