Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Display duplicates on several columns

Hello everyone,

 

is there a way where i can display all duplicates on several columns?

 

Example:

 

NameAddress1Address2
ABACA
AABACB
ABBBCA
ACBCCC
AABDCD
ADBECE
AEBACF
AFBF

CG

 

 

 

Expected Result:

 

NameAddress1Address2
ABACA
AABACB
ABBBCA
AABDCD
AEBACF

 

I want to show the columns with duplicates. Unique records were removed.

Is this possible? Many thanks!!

 

Duplicate.PNG

2 ACCEPTED SOLUTIONS
Zubair_Muhammad
Community Champion
Community Champion

@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" )

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

@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

 

dupee.png

Anonymous
Not applicable

Thank you so much! This helps!!!  🙂

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors