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
renatopnovaes
Helper I
Helper I

How remove duplicates words according other column word in a row

I have this data with the products and their respective groups. However, the same product is part of two groups. In my case I have the product "FANTA GUARANA ZERO 2L 6UN" which is part of the groups "SABORES SA 2L" and "FANTA GUARANA 2L". I wanted the product "FANTA GUARANA ZERO 2L 6UN" to be part of the "SABORES SA 2L" GROUP.  I Need distinct items for create a key.

 

It's possible?

 

renatopnovaes_0-1628808978010.png

 

 

1 ACCEPTED SOLUTION
PC2790
Community Champion
Community Champion

If I understand your requirement correctly, you can concatenate the two columns and then remove duplicates based on that column.

Or you can create an index column based on your required column and do the further transformations accordingly

I hope one of these will work for you.

View solution in original post

2 REPLIES 2
renatopnovaes
Helper I
Helper I

@PC2790  Thank you my friend!

PC2790
Community Champion
Community Champion

If I understand your requirement correctly, you can concatenate the two columns and then remove duplicates based on that column.

Or you can create an index column based on your required column and do the further transformations accordingly

I hope one of these will work for you.

Helpful resources

Announcements
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.

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.

Top Solution Authors
Top Kudoed Authors