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

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.

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 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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