Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
I wanted to request your help as I want to do the following, I have a table such as this one:
Name | Skill |
Bob | Writing |
Bob | Reading |
Bob | Speaking |
What I want to do is to transform the table so that is provides the following result:
Name | Skill 1 | Skill 2 | Skill 3 |
Bob | Writing | Reading | Speaking |
I've been trying to pivot the column but it doesn't give me the correct result. Any ideas?.
Thanks!.
Solved! Go to Solution.
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
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
Thanks @Anonymous for the detailed explanation ;).
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!.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
96 | |
75 | |
71 | |
64 |
User | Count |
---|---|
140 | |
109 | |
103 | |
82 | |
73 |