Forum Discussion

CTan42's avatar
CTan42
Helper II
9 years ago
Solved

IF function cross tables

I was trying to use IF function to cross check 2 different tables. However it does not work as it is 2 separate tables. Do i really have to merge or append the tables? Below is my formula:  Match = I...
  • Anonymous's avatar
    Anonymous
    9 years ago

    CTan42

     

    No you don't have to. You just need to utilize the DAX formula RELATED().

     

    Try to use it like this: Match = If('table A'[template] = RELATED('table B'[template]), "Yes", "No")

     

    Let me know how it goes. I'll also gladly elaborate.