The first column to produce the xtab from. This can be a constant, a column, a single-column cell range, or any expression evaluating to one of the above.
The second column to produce the xtab from. This can be a constant, a column, a single-column cell range, or any expression evaluating to one of the above.
The third column to produce the xtab from. This can be a constant, a column, a single-column cell range, or any expression evaluating to one of the above containing a numeric value.
XTAB calculates distinct values in
col1 and
col2. Then it computes
operator_keyword of
numeric_col3 at the intersection of each
col1 value with each
col2 value.
COUNTOF - returns the number of records at each intersection.
COUNTZERO - returns the number of records at each intersection for which
numeric_col3 is 0.
COUNTNONZERO - returns the number of records at each intersection for which
numeric_col3 is not 0.
COUNTNULL - returns the number of records at each intersection for which
numeric_col3 is
NULL.
MINOF - returns the smallest value of
numeric_col3 at each intersection; returns missing value if there are no values at the intersection.
MAXOF - returns the largest value of
numeric_col3 at each intersection; returns missing value if there are no values at the intersection.
SUMOF - returns the sum of all
numeric_col3 values at each intersection.
AVGOF - returns the average of all non-
NULL numeric_col3 values at each intersection.
STDEVOF - returns the standard deviation of all non-
NULL numeric_col3 values at each intersection.