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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ThomasWeppler
Skilled Sharer
Skilled Sharer

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
Frequent Visitor

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
Frequent Visitor

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors