Can you export the data to excel and piviot the rows and columns, that would be the esiest way.