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
Anonymous
Not applicable

Remove dublicates from Text.Combine ??

Hello, 

I need to remove dublicates from my grouped data. But how?

Thanks in advance

moustafa67_0-1639398794809.png

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

Text.Combine(List.Distinct([Werk]))

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Another way is to filter rows according to Werk column string length after grouping. Duplicated rows have longer strings than others. 

= Table.SelectRows(#"Grouped Rows", each Text.Length([Werk])<=4)

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

wdx223_Daniel
Super User
Super User

Text.Combine(List.Distinct([Werk]))

Thingsclump
Resolver V
Resolver V

Hi @Anonymous 

 

Best way is to select column 1 and column 2 before group by and remove duplicates. 

 

Thanks

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.