COLUMN macro
The COLUMN
macro
is available only in Unica Campaign.
Syntax
COLUMN(data [, data]…) or (data
[, data]…)
Parameters
data
A
value to use in creating a column. This can be a constant value (numeric
or ASCII text in quotes), a column, a cell range, or an expression
evaluating to any of the above. This parameter can be repeated multiple
times, but subsequent parameters must have the same dimensionality
(that is, column width) as the first parameter. All values in all
data
parameters must be either numeric or ASCII
text (that is, you cannot mix numeric and text values). If multiple
data
parameters are provided, they all must have
the same number of columns. For the format definition of data
,
see the "Macro Function Parameters" section in the chapter
in this guide for your product.
Description
COLUMN
vertically
concatenates its inputs into columns of a function group. It returns
the same number of new columns as provided in each input parameter.
An unlimited number of arguments can be provided. All arguments must
be either numeric or ASCII text strings (that is, you cannot mix numeric
and text values).
COLUMN
macro function can be abbreviated by listing the data
arguments separated by commas inside parentheses (for example, (for
example, TEMP
= MEAN((1,2,3,4), ALL)
.
If not used inside another macro function, the pair of parentheses
is not necessary (for example, V1=1,2,3
is equivalent
to V1=COLUMN(1,2,3)
.Examples
TEMP = COLUMN(3, 4, 5) or TEMP =
(3,4,5) or TEMP = 3,4,5 Creates a new
column named |
TEMP = COLUMN("one","two", "three") Creates
a new column named |
TEMP = AVG(V1), STDV(V1) Creates a new column
named |
TEMP = V1:V2, V3:V4 Creates two new columns
named |
TEMP = V1:V2, V3:V4 Creates two new columns
named |
TEMP = V1:V2, V3:V4 Creates two new columns
named |