Forum Discussion

NFI27's avatar
NFI27
Icon for Helper I rankHelper I
7 years ago
Solved

Dax to lookup from multiple values

Hello,   I am a fairly new user to power bi. i have question regarding the lookup from multiple values. Lets say i have a table named (production) with the items (reference numbers) that are in pro...
  • v-cherch-msft's avatar
    v-cherch-msft
    7 years ago

    Hi NFI27

     

    You may try below formula:

    PRODUCTION =
    VAR NewDate =
        CALCULATE (
            MAX ( entry[ENTRY] ),
            FILTER ( entry, entry[ITEM] = production[ITEM] )
        )
    RETURN
        IF ( NewDate = BLANK (), "New", NewDate )
    

    Regards,

    Cherie