Edited Sep 1, 2015
A scalar is an expression that evaluates to a number
Any value, function or operation that is or returns a number, boolean or string is a scalar expression.
Examples:11 + 2avg(Q1)pctin(Q1,1)validcount(Q1)
The following are NOT scalar_expressions:Q1
is not a scalar expression because it represents multiple values: one for each
row in a dataset. It is a vector
is not a scalar expression because nullifeq
would return a vector
the first parameter is a vector
(which it is).