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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
ThomasWeppler
Impactful Individual
Impactful Individual

How do I remove the right duplicate rows?

Hi power Bi community
I want to remove the everything but the top row. I thought remove duplicate would help me with that, but it seems like it removes everything based on my idx instead of my id. See example

remove the right duplicate.png

 

Can anyone help me in the right direction? I would appreciate it greatly.

1 ACCEPTED SOLUTION
JP_Wisco
Helper I
Helper I

I will frequently apply a

  • Group By id field(s), aggregating max date and all rows
  • Expand all rows
  • Filter rows where date = max date
  • select id column and remove duplicates (in case you somehow had a true duplicate)

JP_Wisco_0-1708040149593.png

 

View solution in original post

4 REPLIES 4
JP_Wisco
Helper I
Helper I

I will frequently apply a

  • Group By id field(s), aggregating max date and all rows
  • Expand all rows
  • Filter rows where date = max date
  • select id column and remove duplicates (in case you somehow had a true duplicate)

JP_Wisco_0-1708040149593.png

 

Thansks a lot. I used Min instead of Max and it worked like a charm.

mussaenda
Super User
Super User

I actually didn't get how they are duplicated but if you want to get only the top row, you can use the above function

mussaenda
Super User
Super User

mussaenda_0-1708007391226.png

 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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