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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
nerdyplayer
Helper I
Helper I

remove duplicates per year

I have a data set where that i want to filter out duplicate entries per year. Tried looking on here and doing group by, got an error during the process. 

Table audit test

ICN    Year

V1234 2019

V1234 2020

V1234 2020

V1234 2021

V2345 2019

V2345 2019

V2345 2020

 

want

V1234 2019

V1234 2020

V1234 2021

V2345 1029

V2345 2020

 

1 ACCEPTED SOLUTION
quantumudit
Super User
Super User

Hey @nerdyplayer 

It is actually much simpler than you might have anticipated.

 

If I have understood your requirement correctly, all you need to do is select both columns, namely "ICN" and "Year," then right-click and choose "Remove Duplicates." You can select multiple columns by holding down the CTRL key.

 

Here is the sample GIF for your referece:

remove_duplicates.gif

Best Regards,
Udit

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudo 👍

🚀 Let's Connect: LinkedIn || YouTube || Medium || GitHub
Visit My Linktree: LinkTree

Proud to be a Super User

 

 

View solution in original post

2 REPLIES 2
techies
Super User
Super User

Hi @nerdyplayer create a custom column

= Text.From([ICN]) & "-" & Text.From([Year])

 

and then use remove rows>remove  duplicates in this new column

Power BI & Microsoft Fabric
PL-300 | DP-600 | DP-700 Certified
quantumudit
Super User
Super User

Hey @nerdyplayer 

It is actually much simpler than you might have anticipated.

 

If I have understood your requirement correctly, all you need to do is select both columns, namely "ICN" and "Year," then right-click and choose "Remove Duplicates." You can select multiple columns by holding down the CTRL key.

 

Here is the sample GIF for your referece:

remove_duplicates.gif

Best Regards,
Udit

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudo 👍

🚀 Let's Connect: LinkedIn || YouTube || Medium || GitHub
Visit My Linktree: LinkTree

Proud to be a Super User

 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors