convertPvtTblToBasicTbl function

Convert a pivot table to a basic table.