Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!!! 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |