Use
You generate statistics to enable you to display data in a summarized form. The following diagram shows a statistic for sales per airline carrier from the flight connections example.
Prerequisites
You are assigned to a user group, QD, for example.
Procedure
Proceed as follows to generate the statistic shown above:
You determine the statistics in this series of screens. Each statistic must have its own unique title, since you may generate several statistics.
Totals are always calculated for numeric fields. You can therefore determine average values, the number of selected records, and the percentage share.
For more information on sums in statistics and ranked lists and how to convert them, see
You can define up to 9 statistics for each query.
You create this second statistic definition on the Statistics 2 screen.
The annual sales in DM were output in the first statistic. Placing a 3 in the Rnd column rounds the figures to the nearest thousand.
The statistics are displayed one after the other.
After the statistics, you get an overview stating which currency conversions were performed, as well as the date and exchange rate on which the conversions were based.
The overview also provides information about quantity conversions and the conversion factor.
Additional Functions
Lead columns
Every statistic has lead columns. They are determined by the query itself. The Key color attribute is assigned automatically to all non-numeric fields. When you scroll horizontally, these fields always remain visible on the screen.
Subtotal
See:
Sorting: Example 1New page
See:
Sorting: Example 2Output length
When you define statistics, you can change the output length of the fields. This may be necessary, for example, when overflows occur as a result of summing numeric fields. To do this, specify the desired output length in the column Len on the Statistic Structure screen.