"Multiple Statistics Associated with a Single Table Cell"

There are lots of times when you want to build a table that has more than one statistic. You might wish to show a mean and standard deviation or a minimum and maximum. It’s also very common to add the N statistic to a table with other statistics in order to show the sample size.
But when you start using multiple statistics, you will occasionally run into the "ERROR: There are multiple statistics associated with a single table cell in the following nesting: _____________" message. This is an easy problem to sort out. The error message states the problem pretty clearly.
For example, the following code produces the error message that is shown here:
PROC TABULATE DATA=TEMP; CLASS EDUC MARITAL; ...

Get PROC TABULATE by Example, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.