Forum Discussion

MITHUN_NAIR's avatar
MITHUN_NAIR
Regular Visitor
4 years ago
Solved

Need Help in DAX--Finding Duplicates

    Hello , Need your help on this  There are 2 Values in the Index Column i.e. 1 & 2 which indicates that these are coming from two different sources. ( I have appended these 2 sources and mad...
  • johnt75's avatar
    4 years ago

    You could create a column like

    Has duplicate = 
    var indexToCheck = IF( 'Table'[Index] = 1, 2, 1 )
    return 'Table'[Contract Number] IN CALCULATETABLE( VALUES('Table'[Contract Number]), REMOVEFILTERS('Table'), 'Table'[Index] = indexToCheck)