Forum Discussion

Stuznet's avatar
Stuznet
Icon for Helper V rankHelper V
8 years ago
Solved

Find matching value in another table and return with text string

Hi all,

 

I've been looking around but couldn't find the simple solution to my work. So I have 2 tables and I need to perform lookup.

If table1[Item] = table[Item] then it is "match" 

 

Table 1
Item
Car
 
Table 2
Item
Car
  • Apologies, I'm not understanding this I feel, but if you want to know if there is a match in another table, you could do this:

     

    Column = IF(COUNTROWS(FILTER(ALL('Table2'),'Table2'[Item] = [Item]))>0,"Match",BLANK())

4 Replies

    • Stuznet's avatar
      Stuznet
      Icon for Helper V rankHelper V

      So basically, I need to perform lookupvalue in both tables, if it is the same then return text string "Match"

      • Greg_Deckler's avatar
        Greg_Deckler
        Icon for Community Champion rankCommunity Champion

        Apologies, I'm not understanding this I feel, but if you want to know if there is a match in another table, you could do this:

         

        Column = IF(COUNTROWS(FILTER(ALL('Table2'),'Table2'[Item] = [Item]))>0,"Match",BLANK())