CAS 6


smallest
- Relational

Summary

Find the smallest records in each category

Examples

smallest 10 CURBAL 
smallest 5 CURBAL (CURBAL gt 0) 
smallest 3 CURBAL STATE 
smallest 3 CURBAL STATE (PROPTYPE eq 'SF')  

Syntax

smallest RecCount NumField (Category) (SelectionStatement)

Right Arguments

Name Data Type Input Type Description Optional Default
RecCount Numeric Field, Constant Number of records No
NumField Numeric Field Measurement Field No
Category Text Field Grouping field Yes
SelectionStatement Boolean Field Expression to select records that will be applied to the calculation. Yes 1

Result

Type: Boolean

1=selected, 0=not selected



Build 6.0.624