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.
Hello! I am retrieving data from a database via Power Query and it looks like below.
I want to group the data by "sid" and and transpose the name column to headers such that it looks like below.
Any direction would be well appreciated! I am using Power Query.
Solved! Go to Solution.
Hi @Des75 , here is an example of what you can do, if I understood well your problem:
Steps:
1. Select "Transform" ribbon item
2. Select the column in which you have your future headers (for you it will be "name")
3. Press "Pivot column" button
4. In the settings, select the column in which you have the values (for you it will be "value")
5. In the advanced settings, select "Do not agregate" option
6. You're done!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Des75 , here is an example of what you can do, if I understood well your problem:
Steps:
1. Select "Transform" ribbon item
2. Select the column in which you have your future headers (for you it will be "name")
3. Press "Pivot column" button
4. In the settings, select the column in which you have the values (for you it will be "value")
5. In the advanced settings, select "Do not agregate" option
6. You're done!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Perfect!
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.