Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello everyone,
is there a way where i can display all duplicates on several columns?
Example:
Name | Address1 | Address2 |
A | BA | CA |
AA | BA | CB |
AB | BB | CA |
AC | BC | CC |
AA | BD | CD |
AD | BE | CE |
AE | BA | CF |
AF | BF | CG |
Expected Result:
Name | Address1 | Address2 |
A | BA | CA |
AA | BA | CB |
AB | BB | CA |
AA | BD | CD |
AE | BA | CF |
I want to show the columns with duplicates. Unique records were removed.
Is this possible? Many thanks!!
Solved! Go to Solution.
@Anonymous
You can use this calculated column to check for the Duplicates
Check = VAR Cond1 = IF ( CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Name] ) ) = 1, 1 ) VAR Cond2 = IF ( CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Address1] ) ) = 1, 1 ) VAR Cond3 = IF ( CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Address2] ) ) = 1, 1 ) RETURN IF ( Cond1 = 1 && Cond2 = 1 && Cond3 = 1, BLANK (), "Duplicates" )
@Anonymous
Please see attached file as well
@Anonymous
You can use this calculated column to check for the Duplicates
Check = VAR Cond1 = IF ( CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Name] ) ) = 1, 1 ) VAR Cond2 = IF ( CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Address1] ) ) = 1, 1 ) VAR Cond3 = IF ( CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Address2] ) ) = 1, 1 ) RETURN IF ( Cond1 = 1 && Cond2 = 1 && Cond3 = 1, BLANK (), "Duplicates" )
@Anonymous
Please see attached file as well
Thank you so much! This helps!!! 🙂
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |