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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.