I have a table that looks something like this
StudentNr Module MarkAchieved
123 Task1 59
123 Task2 49
123 Exam1 62
854 Task1 71
854 Task2 72
854 Exam1 90
785 Task1 41
785 Task2 53
785 Exam1 60
That I want to be displayed like This
StudentNr Task1 Task2 Exam1
123 59 49 62
854 71 72 90
785 41 53 60
My problem is I don't know how many Modules there will be
I know how to and have gotten the pivot to work but not with Dynamic columns. How can I Pivot my table with Dynamic columns ?