Forum Discussion
o59393
4 years agoPost Prodigy
Lookupvalue not working between 2 tables
Hi all I am doing a lookup calcualted column, but doesn't work Basically I have a table called 'Master Plant & Product' that has to xlooup its values on another table called 'SKU by line - Of...
- 4 years ago
Try this instead...
IF('Master Plant & Product'[Merged Plant & Product] IN DISTINCT('SKU by line - Official'[Merged Plant & Product]), 1,0)I may have typo'd your column names so double check those.
o59393
4 years agoPost Prodigy
KNP
4 years agoSuper User
Try this instead...
IF('Master Plant & Product'[Merged Plant & Product] IN DISTINCT('SKU by line - Official'[Merged Plant & Product]), 1,0)
I may have typo'd your column names so double check those.
- o593934 years agoPost Prodigy
Wow KNP
It worked! so the distinct in your dax basically converted the duplicated values to unique ones correct?
Thank you so much 🙂
- KNP4 years agoSuper User
It just gets the unique values of that column from the SKU table to compare with the Master table. So not to compare every row.
At least, that's how I understand it to work.
Glad I could help, especially since my DAX knowledge is a work in progress. 😁