Forum Discussion
Anonymous
7 years agoNot applicable
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],...
- 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")
Greg_Deckler
7 years agoCommunity Champion
Perhaps:
Duplicates =
VAR __table = FILTER('Active',Active[Name] = 'ODS'[EMPLOYEE_NAME] && 'Active'[Manager] = 'ODS'[MANAGER_NAME])
RETURN
IF(COUNTX(__table,[Name])=1,"NO","YES")- Anonymous7 years agoNot applicable
Greg_Deckler Exactly what I needed! Thanks!!!