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.
Dear @HotChilli ,
Please help me to transfer data like this:
Class | Name1 | Name2 | Name3 | Name4 | Name5 | Score1 | Score2 | Score3 | Score4 | Score5 |
1 | A | 6 | ||||||||
2 | B | 7 | ||||||||
3 | C | A | 8 | 9 | ||||||
4 | D | A | B | C | A | 5 | 3 | 4 | 3 | 7 |
Into:
Class | Name | Score |
1 | A | 6 |
2 | B | 7 |
3 | C | 8 |
3 | A | 9 |
4 | D | 5 |
4 | A | 3 |
4 | B | 4 |
4 | C | 3 |
4 | A | 7 |
Thanks,
Best regards,
Solved! Go to Solution.
Hello @Zuy_NA
In Power Query, select the Class column and 'Unpivot other columns'.
Filter out the blank values in the Values column (use the dropdown).
Use 'split by delimiter' on the attribute column (Using 'By Non-digit to digit').
Select the 'Attribute1' column and choose Pivot from the Transform menu. Choose Value for the Values column and 'Don't aggregate' from the Advanced section.
Hello @Zuy_NA
In Power Query, select the Class column and 'Unpivot other columns'.
Filter out the blank values in the Values column (use the dropdown).
Use 'split by delimiter' on the attribute column (Using 'By Non-digit to digit').
Select the 'Attribute1' column and choose Pivot from the Transform menu. Choose Value for the Values column and 'Don't aggregate' from the Advanced section.
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |