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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anja1
New Member

Deduplicate with condition in power query power bi

I have a table and i want deduplicate.

 

Example:

membernumber
A5
A4
A3
A2
A1
B3
B2
B1
C4
C3
C2
C1
D2
D1

I want to keep de highest number per member and the others delete.

 

How can I do this in power query in power bi?

 

I hope someone has the solution for me 🤔

 

Anja

1 ACCEPTED SOLUTION
dufoq3
Super User
Super User

Hi @Anja1, group by member.

 

dufoq3_2-1713620603463.png

 

Result

dufoq3_1-1713620541017.png


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

View solution in original post

3 REPLIES 3
Anja1
New Member

This is great, this is the solution where I am looking for.

I need some other colums of the data and when I use Advanced I can take the other colums with this condition.

 

Your explanation is very goed.

 

 

You're welcome.


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

dufoq3
Super User
Super User

Hi @Anja1, group by member.

 

dufoq3_2-1713620603463.png

 

Result

dufoq3_1-1713620541017.png


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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