Forum Discussion

pawelj795's avatar
pawelj795
Icon for Post Prodigy rankPost Prodigy
5 years ago
Solved

IF with LOOKUPVALUE - simple check

Hi,
I have 2 tables, which don't have any relationship.

Now, I want to find, if my values can be found in different table, sort of a simple check.

How to modify my column without getting into needless details?

 

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi pawelj795 ,

     

    Based on your description, I did a test. You can create a similar column as follows.

    Column = IF('Sales'[Director]in VALUES(Sales_Target[Director]),"I Level BOM","II Level BOM")

    Here is my test result.

    Hope that's what you were looking for.

    Best Regards,

    Yuna

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi pawelj795 ,

     

    Based on your description, I did a test. You can create a similar column as follows.

    Column = IF('Sales'[Director]in VALUES(Sales_Target[Director]),"I Level BOM","II Level BOM")

    Here is my test result.

    Hope that's what you were looking for.

    Best Regards,

    Yuna

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • pawelj795's avatar
      pawelj795
      Icon for Post Prodigy rankPost Prodigy

      amitchandak 
      Yes, I'm aware that it find more than one value.

      But is it possible to do like vlookup in excel?
      In this case it would return first possible value.


      In my case, I want only to check if it find some value or anything.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Try adding a calculated column as this

        New Column = Calculate(min(bom_line[product_tmpl_id]),filter(bom_line, bom_line[product_tmpl_id]=boms_in_bom_line_distinct[product_tmpl_id])