Implement a basic pivot table with totals | Sigmacomputing