Forum Discussion
MITHUN_NAIR
4 years agoRegular Visitor
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...
- 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)
johnt75
Super User
4 years agoYou 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)