I need help to combine the following commands to use a single Google Query command to obtain the Totals for Rows and Columns without relying on Pivot Tables:
QUERY 1 =QUERY(TESTDATA!A1:C16, "SELECT A, SUM(C) GROUP BY A PIVOT B",1)
QUERY 2 =QUERY(TESTDATA!A1:C16, "Select SUM (C) GROUP BY A label SUM (C) 'NAME ROW TOTALS'")
QUERY 3 ={transpose(Query(TESTDATA!A1:C16, "Select SUM (C) GROUP BY B label SUM (C) 'MONTH COLUMN TOTALS'"))}
https://docs.google.com/spreadsheets/d/15i1E8AZHORRmPlu1VQqFRN1_7-aUyAz-hlYMOUtIlY4/edit?usp=sharing
I would like to return the following result:

Thank you very much JA
