There are multiple ways of showing sample size for each column in a table using built-in context menus and rules.
Method 1 - Add statistics to your table
- Statistics - Below > Column Sample Size will place Column Sample Size at the base of each column. Note that you can rename Column Sample Size using Anything > Table > Modify Text in Selection (see How to Modify Date Labels, Statistic Names, and Other Default Labels). Note that when the sample size varies within the columns this result will often be misleading (see NET is not 100% for a description of the general problem).
- Statistics - Cells > Column Sample Size will place Column Sample Size in each cell. This is appropriate when you have differing sample sizes within each column.
Method 2 - Use rules to add sample details to your table
- Properties > RULES > Plus (+) > Modify Header > Add Sample Size to Column Labels places the sample size in the column headers.
- Properties > RULES > Plus (+) > Modify Footers > Add Column Base Sizes adds sample sizes for each column (other than the NET and SUM columns) to the footer.