Download Elixir Report Designer User Manual

Transcript
Report Elements
The data source field name and the corresponding data types are listed in a table in the Field tab. Select
the required field from the list of DataSource fields. The name of the field that has been selected is
displayed in the Expression text box.
Operation
The Operation field type is selected from the combo box. The DataSource is selected from the list of
data sources in the combo box. The required field is selected from the list of fields in the table.
The Average, Comma Separated List, Comma Separated Set, Count, First, Last, Maximum, Median,
Minimum, Percent, Percent100, PercentCount, PercentCount100, StandardDeviation, Sum, Variance,
Year to Date and Month to Date functions are listed in the combo box from which you can selected
the required function type. The definitions of all the available operations is given in the Repertoire
manual, "Function Reference" chapter.
The Over Group or Over All option is selected depending on whether you want to perform the function
calculation over a particular group or on the whole set of data. The combination of Over Group/Over
All and Running Value determines the range of records that the operation will apply to. The start of
the range is controlled by Over Group and Over All. If Over All is chosen, then the range begins with
the very first record of the datasource. If Over Group is chosen, then the range begins with the first
record of the current group. Where there are multiple levels of grouping, the current innermost group
is used.
If Running value is not selected, then the end of the range is based on the Over All/Over Group value.
Over All means the last record of the datasource. Over Group means the last record of the current
group. When Running Sum is enabled then the current record is used as the end of the range.
You can calculate running values that accumulate within each group and are reset each time a new
group of records begins. You can also calculate running values that accumulate throughout the report.
For doing this select Sum function from the combo box, select the Over All/Over Group option and
finally select the Running value check box. Similarly the running value for average, maximum,
minimum, etc can be calculated.
To illustrate the use of summation and running values,
here's a simple example. We start with the data in
Figure 4.5, “Sample Data”. We will group it by Name and
perform operations on the Value. A report is designed, as
shown in Figure 4.6, “Sample Running Sum Report”. The
report demonstrates the use of running values and over
all/over group.
36
Figure 4.5. Sample Data