Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Logic Woes with Lookupvalue

Hi All,   I have the following DAX that returns whether or not there is a duplicate value on the 'ODS' table:   Duplicates = IF(     ISBLANK(         LOOKUPVALUE('Active'[Name],'Active'[Name],...
  • Greg_Deckler's avatar
    7 years ago

    Perhaps:

     

    Duplicates = 
    VAR __table = FILTER('Active',Active[Name] = 'ODS'[EMPLOYEE_NAME] && 'Active'[Manager] = 'ODS'[MANAGER_NAME])
    RETURN
    IF(COUNTX(__table,[Name])=1,"NO","YES")