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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
fernandoC
Helper V
Helper V

How to transform column to remove duplicates

Hi Team,

 

I wanted to request your help as I want to do the following, I have a table such as this one:

 

NameSkill
BobWriting
BobReading
BobSpeaking

 

What I want to do is to transform the table so that is provides the following result:

NameSkill 1Skill 2Skill 3
BobWritingReadingSpeaking

 

I've been trying to pivot the column but it doesn't give me the correct result. Any ideas?.

 

Thanks!. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Here you go. You need to reference your skills as a new table, remove dups, add index and merge back to original table. Was going to share the PBIX file but it wont let me.   This gif walks you through all the steps

 

 

pivotcolumns.gif

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Here you go. You need to reference your skills as a new table, remove dups, add index and merge back to original table. Was going to share the PBIX file but it wont let me.   This gif walks you through all the steps

 

 

pivotcolumns.gif

Thanks @Anonymous for the detailed explanation ;). 

HotChilli
Super User
Super User

Add an Index, then Pivot the Index column (with 'do not aggregate' option)

Hi @HotChilli 

 

Thank you for your response. 

 

I've created the index column and pivoted with the values from 'Skills', however, it's not providing the desired result. Maybe I'm missing a step.

 

Thank you for your help on this!. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.