Specifications
CrosstabMinDec
664 InfoMaker
This expression for a computed field returns the minimum of all the average
sales in the row:
CrosstabMin(1)
For an example illustrating how the painter automatically defines a crosstab by
creating computed fields using the crosstab functions, see
CrosstabAvg.
See also CrosstabAvg
CrosstabCount
CrosstabMax
CrosstabMinDec
CrosstabSum
CrosstabMinDec
Description Calculates the minimum value returned by an expression in the values list of
the crosstab and returns a result with the decimal datatype. When the crosstab
definition has more than one column,
CrosstabMinDec can also calculate the
minimum of the expression’s values for groups of column values.
For crosstabs only
You can use this function only in a crosstab report.
Syntax CrosstabMinDec ( n {, column, groupvalue } )
Return value
Decimal. Returns the minimum value returned by expression n for all the
column values or, optionally, for a subset of column values.
Argument Description
n The number of the crosstab-values expression for which you want
the minimum return value. The expression’s datatype must be
numeric.
column
(optional)
The number of the crosstab column as it is listed in the Columns box
of the Crosstab Definition dialog box for which you want
intermediate calculations.
groupvalue
(optional)
A string whose value controls the grouping for the calculation.
Groupvalue is usually a value from another column in the crosstab.
To specify the current column value in a dynamic crosstab, rather
than a specific value, specify @ plus the column name as a quoted
string.