I'm trying to produce the table as shown in the attachment, without the row with the cells 'Not wanted'.
The Python Reference Guide for IBM SPSS Statistics gives a lot of hints, but tantalizing enough it says 'Generation of the resulting table requires more code than is shown here.'at the crucial parts.
I need to add footnotes to Level 1 en Level 2, so SimplePivotTable is not going to work for me, I think.
Any actual code or reference to relevant literature is very much appreciated. Kees
SPSS24 Pivoting Tray 0 Answers
Syntax for Pivot Table, pivoting tray 2 Answers