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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rbeneteli
Frequent Visitor

How to eliminate both duplicates lines

Hello guys, my problem is the one in the subject, it looks like simple but i can't find a solution, so in my table if I have a duplicate line they are errors and I would like to eliminate both, how can I do that in power query? Sometimes the value appears more than two times.

 

Fruits
Orange
Banana
Apple
Orange
Orange
Melon

 

It should be like that

 

Fruits
Banana
Apple
Melon

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@rbeneteli

 

Hi,

 

1--Do a Merge with the Same Table

 

Fruits With Fruits

 

2 --When Expand the Table Select Aggregate - Count of Fruits

 

3--Filter This New Column is equal to 1.

 

Regards

Victor

 

 




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@rbeneteli

 

Hi,

 

1--Do a Merge with the Same Table

 

Fruits With Fruits

 

2 --When Expand the Table Select Aggregate - Count of Fruits

 

3--Filter This New Column is equal to 1.

 

Regards

Victor

 

 




Lima - Peru

@Vvelarde

 

Thanki you, it worked 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.