formula
|
Common Properties for properties shared with other components. |
Specifies the aggregation method for the measure displayed in the Selection component. This is equivalent to selecting a method from the ‘Aggregate’ menu under the Data tab of the component ‘Properties’ dialog box.

Type
- Style Constant object
-
StyleConstant.COUNT_FORMULA StyleConstant.SUM_FORMULA StyleConstant.MIN_FORMULA StyleConstant.MAX_FORMULA StyleConstant.NONE_FORMULA
Example
SelectionList1.query = 'SalesByDate';
SelectionList1.fields = ['State'];
SelectionList1.measure = 'Total';
SelectionList1.formula = StyleConstant.MAX_FORMULA;
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |