Forum Discussion
abhitiwa
Helper I
8 years agoLookup a value in other table - DAX
I have a table A with duplicate values in one column. I want to run a vlookup in another table B, and want to return 'TRUE' if it exists in table A. eg below- TABLE A :: ID amount 1 ...
Anonymous
8 years agoNot applicable
HI abhitiwa,
You can add a calculated column with below formula to check exist item based on other table:
Check = [ID] in VALUES(Records[ID])
Regards,
Xiaoxin Sheng
- nickchobotar8 years ago
Skilled Sharer
Anonymous
That's great. Another way is to wrap VALUES() into a CALCULATE() for context transition.
*** works with relationship only, though