The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to Solution.
@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
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
@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