Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Here is an interesting problem. For the below data set - I need to transform this via the mapping shown below - the ultimate result I did manually for the first 2 rows as an example. The top row which is column headers currently is the "Project ID", the dates are dates that would need to repeat for each project ID, and the values are hours. How would I perform this data manipulation?
Solved! Go to Solution.
Use the Unpivot functionality of Power Query.
Specifically - highlight all the columns that you wish to unpivot and use that function
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |