Here's a start on this. I didn't worry about the post computes. I generated this from the CTABLES canvas, so it isn't as compact as it could be.
The trick is in the SLABELS and CLABELS subcommands.
CTABLES
/TABLE BY T_Q32_1 [C][COUNT F40.0, TOTALS[COUNT F40.0, MEAN F40.2]] + T_Q32_2 [C][COUNT F40.0,
TOTALS[COUNT F40.0, MEAN F40.2]] + T_Q32_3 [C][COUNT F40.0, TOTALS[COUNT F40.0, MEAN F40.2]] +
T_Q32_4 [C][COUNT F40.0, TOTALS[COUNT F40.0, MEAN F40.2]] + T_Q32_5 [C][COUNT F40.0, TOTALS[COUNT
F40.0, MEAN F40.2]] + T_Q32_6 [C][COUNT F40.0, TOTALS[COUNT F40.0, MEAN F40.2]]
/SLABELS POSITION=ROW
/CLABELS COLLABELS=OPPOSITE
/CATEGORIES VARIABLES=T_Q32_1 T_Q32_2 T_Q32_3 T_Q32_4 T_Q32_5 T_Q32_6 ORDER=A KEY=VALUE
EMPTY=INCLUDE TOTAL=YES POSITION=BEFORE.