Forum Discussion

AllanBerces's avatar
AllanBerces
Icon for Post Prodigy rankPost Prodigy
2 years ago
Solved

Lookupvalue with if

Hi Good day Can anyone help me to change the blank to "Injected" from a lookupvalue column.   Thank you  
  • qwasze's avatar
    2 years ago

    Hi allan,

     

    You might want to do:

    =IF(
    ISBLANK(
    LOOKUPVALUE(Sign_OFF[SIGN OFF], Sign_OFF[Job Card], 'BSP TA'[Job Card])
    ),
    "Injected",
    LOOKUPVALUE(Sign_OFF[SIGN OFF], Sign_OFF[Job Card], 'BSP TA'[Job Card])
    )

  • rajendraongole1's avatar
    2 years ago

    Hi AllanBerces - you can try the below function suggested by qwasze .adding one more another approach with variable: Try below calculated column

     

    Base_Scope =
    VAR lookupResult = LOOKUPVALUE(sign_off[sign off], sign_off[Job Card], 'BSA TA'[Job card])
    RETURN IF(ISBLANK(lookupResult), "Injected", lookupResult)

     

    Did I answer your question? Mark my post as a solution! This will help others on the forum!
    Appreciate your Kudos!!