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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors