Nesting in Tables with Shared Categories
In nested tables, the stacked variables with the shared categories must be at the innermost nesting level of their dimension if you want to display the category labels in the opposite dimension.
- Open the table builder again (Analyze menu, Tables, Custom Tables).
- Drag and drop Gender from the variable list to the left side of the Rows area.
The stacked variables with shared categories are now nested within gender categories in the table preview.
- Now drag and drop Gender to the right of one of the stacked confidence variables in the table preview.
Once again, the category labels have reverted to the row dimension, and the Category Position control is disabled. You now have one stacked variable that also has Gender nested within it, while the other stacked variables contain no nested variables. You could add Gender as a nested variable to each of the stacked variables, but then moving row labels to columns would result in the category labels for Gender being displayed in the columns, not the category labels for the stacked variables with the shared categories. This is because Gender would now be the innermost nested variable, and changing the category position always applies to the innermost nested variable.