got pivoting and spreadsheet view working