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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors