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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Remove duplicates in and keep the row with highest price

Hi,

 

I want to remove duplicates based on the first column, but keep the row with the highest price based on the last column. So in the image item 0000.9166 should keep the row with price 11.85

 

Rgieltjes_Meyn_0-1683551296914.png

 

Thanks

 

1 ACCEPTED SOLUTION
NishPatel
Resolver II
Resolver II

In Power Query Editor, do a group on item and create a new column with Max on Price. 

Below is the data

NishPatel_0-1683552173690.png

after applying below grouping

NishPatel_1-1683552201108.png

 

This is the required result

NishPatel_2-1683552219478.png

 

View solution in original post

1 REPLY 1
NishPatel
Resolver II
Resolver II

In Power Query Editor, do a group on item and create a new column with Max on Price. 

Below is the data

NishPatel_0-1683552173690.png

after applying below grouping

NishPatel_1-1683552201108.png

 

This is the required result

NishPatel_2-1683552219478.png

 

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.