ITWissen.info - Tech know how online

fact

In Online Analytical Processing (OLAP) and today generally also in Business Intelligence (BI) systems, the data embodying key figures are often stored as so-called facts. They stand in contrast to the dimensions

, which embody properties. The term facts is derived from the finance-oriented view of classical OLAP theory. Leading the way in the development of OLAP concepts was Ralph Kimball. In an OLAP cube, the data structure consists of properties, as described in the term dimension, and key figures. Each key figure always refers to a particular combination of properties. For example, a key figure "Sales" can be assigned to the city "Cologne", the month "May" and the product category "Non-Food". It is therefore the sales for non-food products that were generated in Cologne in May. In OLAP theory, this is described as a node of characteristics of all dimensions within an OLAP cube. The location "Cologne", the month "May 2009" and the products category "Non-Food" are dimensional characteristics; the key figures "Sales" or, for example, "Quantity" or "VAT amount" are facts.

OLAP cube with facts

OLAP cube with facts

There are also calculated facts. The "VAT amount" may have been generated as a calculation from the key figure "quantity", the "VAT rate" and the "net unit price". The latter two figures, "VAT rate" and "unit price", are not facts in this context. They are not assigned to the nodes of the OLAP structure, but belong to the characteristic values of the dimension Product ("unit price") or are a separate dimension ("VAT rate").

Thedecision as to what are facts and what are not depends on the concrete task and the structure of an OLAP cube.

Since OLAP cubes

areusually structured hierarchically, the facts of the lower hierarchy level are aggregated to the next higher level. This aggregation

is in most cases a sum operation, but can in principle be any type of aggregation function. Thefollowing alternative interpretation of facts is also widely used: Facts can also be understood as characteristic values on an imaginary dimensional axis - you can easily imagine a directed axis for the key figures "quantity" or "sales". For this reason, facts are often alternatively referred to as measure dimensions

, but the central distinction between properties and measures remains the same in both views. "Normal" dimensions are structured hierarchically, while facts/measure dimensions are aggregated hierarchically. Example: A postal code is an attribute, a quantity sold is a measure.

Informationen zum Artikel
Englisch: fact
Updated at: 02.07.2009
#Words: 617
Links: