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.
I'm trying to transpose rows into columns for a given group.
My initial table looks like this with 13 columns
Given | Surname | company | Liveemail | Contract Start | Contract End | Instructor Cost | LMS Course ID | Course Title | SMIP | Section | Start Date | End Date |
-
The final table groups rows by these columns - "Given Surname company Liveemail Contract Start Contract End".
The remaining columns gets appended to the same row with a suffix 1,2,3 added like this.
So, the final table looks like this -
This is the power query I have so far.
#"Grouped Rows" = Table.Group(#"Changed Type", {"Given", "Surname", "company", "Liveemail", "Contract Start", "Contract End"}, {{"crscount", each Table.RowCount(_), Int64.Type}}),
How can I have the columns added in end of the grouped row?
The columns need to be dynamic, if there are 100 rows for a given group, there need to be 100 sets of columns added to the main table like "LMS Course ID1 Course Title1 SMIP1 Section1 Start Date1 End Date1" all the way to "LMS Course ID100 Course Title100 SMIP100 Section100 Start Date100 End Date100"
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 |
---|---|
108 | |
106 | |
87 | |
77 | |
69 |
User | Count |
---|---|
124 | |
112 | |
94 | |
84 | |
75 |