There are four columns:
Event ID is the actual record number
EventElementTypeSortCode is the means by which the fields are sorted
EventElementTypeDescription shows the required column headings when pivoted
FreeAnswer contains the data to go into the columns.
You will see from the Query that I have got so far but I cannot get the pivot to work properly.
Thanks for providing the PBIX, but unfortunately the data are not local, so I can’t see them. Can you please provide the data in Excel form with a mockup of the result you want to see, and I’ll be glad to give this one a go.