Type | Description | |||
String | A String expression that indicates the list of data columns that shows the summarized data. For instance, the "sum(5),sum(5)/12" display the SUM for the column with the index 5, and adds a new column for each value found in the column with the index 12, by displaying the SUM of column with the index 5. |
For example, if PivotRows is empty and PivotColumns is set to "sum(5)/12", the result will display a single row and a column for each unique value in column 12. The row will show the sum of values from column 5, corresponding to each unique value in column 12. The Description(exColumnEmptyPivotRows) and Description(exRowEmptyPivotRows) properties define the column and row captions when no pivot rows have been specified. When no pivot rows are defined, the pivot columns specify the aggregate functions to be applied to the entire data set (without pivot row grouping). By default, Description(exColumnEmptyPivotRows) is an empty string (""), and Description(exRowEmptyPivotRows) is set to "Total".
For instance:
The PivotColumns in BNF notation is:
PivotColumns ::= "<Aggregate>[,<Aggregate>]" Aggregate ::= <AggregateKey>(<Index>)[<Options>] | <AggregateKey>(<Index>)[<Options>]/<Index>[:<Order>][<Options>][;<Index>[:<Order>][<Options>]] Index ::= <Digit>[<Digit>] Digit ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Order ::= A | D Options ::= \[<Option> | ,<Option>\] Option ::= <CheckOption> | content=<RadioOption>
where
The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[bold,content=numeric]":
The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[content=numeric]/12":
The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[content=numeric]/12;6":
The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[bold,content=numeric],sum(5)[content=numeric]/12;6":
The control can load data using one of the following methods:
Once the data is loaded to the control, the user can drag and drop columns to summarize the data or set the following properties in the following order: