Summary

Here you will find the explanation of the Summary attribute type, which can be specified together with the associated tab of the Redefine Attribute or Insert New Attribute dialog. Please refer to the general text for topics applying to all attribute types, i.e. to all tabs, for example:

Concept

With a Summary you can define a so-called derived attribute whose value is calculated or derived based upon the values of one existing attribute. As a rule, the values of an attribute are summarized for all displayed objects. You can select from a series of predefined summaries, for example Sum, Average or Maximum. We define this type of derivation as horizontal calculation, in contrast to vertical calculation for formulas. Summaries already cover a large portion of simple analysis tasks.

InfoZoom provides two different methods to create summaries.

When summarizing one attribute, the values of the referenced attribute of all the displayed objects are used for the calculation and the result is generally one single value. (In the case of the summary list, this single value can also be a list of values, but it is the same list for all objects.) This single value is assigned to the derived attribute for all objects of the table. (Exceptions: The summaries Previous, Next, Number, Repetitions and Accumulation normally result in different values.)

Note: A unique result (for example, the average) appears in the table in the Compressed Table view or Overview due to the InfoZoom mechanisms (identical, neighboring values are summarized) only in a cell that extends across the entire width of the table. Nonetheless, these are many individual values. This is important and may lead to a surprising result, for example if you apply the summary Sum to an average.

For the Summary of two attributes, the calculation for each different value of the per attribute is performed separately. This can lead to the creation of a different result for each different value of the per attribute. For all objects of the per attribute with the same value, the result is assigned to the derived attribute. The note above applies accordingly.
With the checked Use unique value checkbox, you specify that a sum or an average over the from attribute's unique values is calculated for the pro attribute's various objects.

A summary of several attributes can be created if you define a heading as per attribute. In this way you get a particularly flexible, possibly multidimensional analysis group.

The Following Predefined Summaries Are Available

Additionally for Summarizing an Attribute

Additionally for Summarizing Two Attributes

See example for Summaries with Percent.

Note regarding summaries that depend upon the current sorting: The current sorting in the Overview view is derived from the object sorting on the basis of the attributes of a coupling if the summary is part of a coupling. Otherwise, the current table sorting is not visible here and it would be better to define the summary in the Compressed Table view. Here, the common sorting of all table objects is considered. The calculation mode of such summaries can only be set to After data loading, Manual (F9) or Once (on definition). The calculation mode Automatic cannot be chosen since this can easily lead to contradictions if, for example, you sort according to the derived attribute itself.

Special case: The empty value sometimes has a special status: For Count, List, Mode and Percentage, during entry it is not considered, and for Sum, %Sum, Accumulation and %Accumulation it counts as zero. For Number, Repetitions, % Percentage, and % Displayed the empty value is treated like every other value and for Ranking it leads to the result undefined. For all other summaries it can be specified using the Interpret missing values as 0 option how it should be treated.

Illegal values are treated as empty values. Illegal values are those values that cannot be interpreted in the specified Format of the attribute.

Warning: For summaries with two attributes, it does not make sense (except for Previous, Next and Accumulation) to select an attribute as per attribute that has different values for all table objects. (For example, the summary of Sum, Average, Maximum and Minimum produces a result identical with the starting attribute.) Since the first attribute of each table, the ID, always has different values for all objects, an error message results: "The ID is not permitted as second attribute". This error message does not appear for other attributes since this characteristic may change later (through editing or redefinition of the per attribute).

 

Options

See also:

Define or Redefine Attribute (General Part)


Derived Attributes

Automatic Recalculation

Manual Recalculation


Simple Attribute and Duplicates

Linking with a Different Attribute

Derived Attribute Using Aggregation

Derived Attribute Using Formula

Derived Attribute Using Classification

Derived Attribute Using Case Differentiation

Insert Attribute Group