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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
Community Champion
Community Champion

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
Community Champion
Community Champion

mussaenda_0-1708007391226.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.