I\'d like to pivot a table, similar to the one below
to display as follows
The actual table I\'m using has over 1.6 million rows, and 1500+ fields, mo