Forum Discussion
Anonymous
6 years agoNot applicable
Lookup Possibility
Given my unfamiliarity with Many to Many relationships, my research on the internet has failed to provide a clear solution to this problem. I have a data model that currently has two lists with a Man...
- Anonymous6 years ago
Nevermind. I found a simple solution through the DAX function of Lookupvalue. If you simply put:
Calculated Column = LOOKUPVALUE( Table 1[Rank], Table 1[Name], Table 2[Name], Table 1[Code], Table 2[Code])
You should get the desired result.
VasTg
Memorable Member
6 years agoAnonymous
Since you mentioned M-to-M and when you have two rows for name and code combination, which rows rank would you like to show? Min,Max, Average?
VasTg
Memorable Member
6 years agoAnonymous
Also refer to this post
https://community.powerbi.com/t5/Desktop/Find-Duplicate-Count-of-related-Table/m-p/908673