Forum Discussion
Anonymous
3 years agoNot applicable
Comparing columns, marking duplicates
Good Morning, I have 2 tables, each has a column with a list of numbers and I am trying to compare the columns and show which numbers appear in both tables. The 2 tables have a M2M relationship so R...
- 3 years ago
Anonymous Try this. PBIX attached below signature.
Duplicate = VAR __Value = [Column2] VAR __Second = ALL('Table (2)'[Column2]) VAR __Result = IF(__Value IN __Second,1,0) RETURN __Result
Greg_Deckler
Community Champion
3 years agoAnonymous Try this. PBIX attached below signature.
Duplicate =
VAR __Value = [Column2]
VAR __Second = ALL('Table (2)'[Column2])
VAR __Result = IF(__Value IN __Second,1,0)
RETURN
__Result
Anonymous
3 years agoNot applicable
Greg_Deckler worked perfect, thanks!