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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rafterse
Helper I
Helper I

Identify duplicates

All,

i have this table 

rafterse_0-1748402426463.png

i want to identify the duplicates in column called skill by each "Name"

 

Output would need to look like this 

rafterse_1-1748403044925.png

so if the person has two skills based on their position the low "Pay Tier " line calls out the higher "Pay Tier"

 

not fussed if i do it in power query or power bi. 

 

thanks in advance

1 ACCEPTED SOLUTION
Irwan
Super User
Super User

hello @rafterse 

 

please check if this accomodate your need.

Irwan_0-1748403884831.png

create a new calculated column with following DAX.

Duplicate Skill =
var _Value =
MAXX(
    FILTER(
        'Table',
        'Table'[Name]=EARLIER('Table'[Name])&&
        'Table'[Skill]=EARLIER('Table'[Skill])&&
        'Table'[Pay Tier]<EARLIER('Table'[Pay Tier])
    ),
    'Table'[Pay Tier]
)
Return
IF(
    not ISBLANK(_Value),
    CONCATENATE("In Pay Tier ",_Value)
)

 

i assumed 'Pay Tier' is in the original table. Otherwise, please share how to define 'Pay Tier' column.

 

Hope this will help.

Thank you.

View solution in original post

3 REPLIES 3
Irwan
Super User
Super User

hello @rafterse 

 

please check if this accomodate your need.

Irwan_0-1748403884831.png

create a new calculated column with following DAX.

Duplicate Skill =
var _Value =
MAXX(
    FILTER(
        'Table',
        'Table'[Name]=EARLIER('Table'[Name])&&
        'Table'[Skill]=EARLIER('Table'[Skill])&&
        'Table'[Pay Tier]<EARLIER('Table'[Pay Tier])
    ),
    'Table'[Pay Tier]
)
Return
IF(
    not ISBLANK(_Value),
    CONCATENATE("In Pay Tier ",_Value)
)

 

i assumed 'Pay Tier' is in the original table. Otherwise, please share how to define 'Pay Tier' column.

 

Hope this will help.

Thank you.

how would i return the "Position" as well as the "Pay Teir" ?

You ledgend. thanks so much it worked a treat

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.