Studierende stehen vor dem LC und blicken lächelnd einer Kollegin mit einer Mappe in der Hand nach.

Exercise No. 20: Freight Bookings (apa)

As the result of DFM Case "freight bookings" this cube stores data about freight bookings.

We have four dimensions with the following hierarchical structure:

Table A.E.28.1 - freight bookings

Please build the Aggregation Path Array and assume the following end-user requirements:

1) "a roll up by the time dimension starting at months for each employee independent of all other dimensions"

2) "a monthly report on the freight type level independent of all other dimensions"

3) "a quarterly report for each combination of customer group and freight type, irrespective of all other dimensions"

Select the corresponding cells in the APA and choose the cubes to materialize, then highlight the derivatives of those cubes.

Solution

Figure A.E.28.1 - The resulting APA with the redundancy free-set highlighted

Size of the redundancy-free set (including the base cube): 144

Required cubes, the materialization decision and derivatives

The blue area represents the end-user requirement 1 ("a roll up by the time dimension starting at months for each employee independent of all other dimensions"), requirement 2 ("a monthly report on the freight type level independent of all other dimensions") and requirement 3 ("a quarterly report for each combination of customer group and freight type, irrespective of all other dimensions").

Materializing cube v = (C_*,F_*,E_em,T_m) (dark blue cell "T_m", representing end-user requirement 1), cube w = (C_*,F_ty,E_*,T_m) (dark green cell "T_m", representing end-user requirement 2) and cube x = (C_gr,F_ty,E_*,T_q) (red cell "T_q", representing end-user requirement 3) offer us the following sets of derivatives.

Figure A.E.28.2 - Derivatives of cube v = (C_*,F_*,E_em,T_m)

Figure A.E.28.3 - Derivatives of cube w = (C_*,F_ty,E_*,T_m)

Figure A.E.28.4 - Derivatives of cube x = (C_gr,F_ty,E_*,T_q)

Figures A.E.28.2 to A.E.28.4 show that no end-user requirement is covered by the derivatives of another vector. To meet all end-user requirements we will have to materialize all three cubes, v, w and x.

This exercise is part of a case study: dfm - apa - log