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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Power Query - Remove Duplicate - secondary Value

Hi Team,

 

Power query : 

I have Duplicate Item code in a column and need to remove secondary value like A2 , 02...

 

The below table Item code repeated 2 time , i have to keep 1st one and remove 2nd one like A2, 02.

 

 

Capture.PNG

 

Please help me.

 

Thanks,

KV's

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

You can remove duplicate in PQ but you need to use 'replace values' first.

Like this:

 

v-janeyg-msft_0-1622432168071.png

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

You can remove duplicate in PQ but you need to use 'replace values' first.

Like this:

 

v-janeyg-msft_0-1622432168071.png

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Break in power Query Based on Split into 1 (Part1 , Part 2)  -https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

And then create one more column

 

Part3  = Text.end([Part2],1)

and then filter on 1 in power query and save 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.