Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to create DAX formula using vlookupvalue with custom text for unmatched records

Hi, I'm able to bring corresponding a_name back to table 1 via vlookupvalue but any unmatched values are showing as blank. Is there a way to assign those unmatched values in a_name to 'Outside of Lon...
  • mahoneypat's avatar
    5 years ago

    Since you have two M:1 relationships, you can just use the RELATED function for your new column on Table1.

     

    a_name = var thisAname = RELATED(Table3[a_name])
    return IF(ISBLANK(thisAname), "Outside of London", thisAname)

     

    Regards,

    Pat