Check out example codes for "DAX check if value exists in another table". It will help you in understanding the concepts better.

Code Example 1

Matched = NOT(ISBLANK(RELATED(Table2_UniqueJobIDs[JobIDsDEF])))

Learn ReactJs, React Native from akashmittal.com