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

Exercise No. 23: Travelling (apa)

As the result of DFM Case "Travelling" this cube stores data about travelling.

We have four dimensions with the following hierarchical structure:

Table A.E.47.1 - Travelling

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

1) "a roll up by the time dimension starting at quarters for each combination of person and country, independent of all other dimensions"

2) "an annual report on the country level independent of all other dimensions"

3) "an annual report for each combination of mode of transportation and class, independent 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.47.1 - The resulting APA with the redundancy free-set highlighted

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

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 quarters for each combination of person and country, independent of all other dimensions"), requirement 2 ("an annual report on the country level independent of all other dimensions") and requirement 3 ("an annual report for each combination of mode of transportation and class, independent of all other dimensions").

Materializing cube v = (M_*,P_pe,D_co,T_q) (dark blue cell "D_co", representing end-user requirement 1), cube w = (M_*,P_*,D_co,T_y) (dark green cell "T_y", representing end-user requirement 2) and cube x = (M_mt,P_cl,D_*,T_y) (red cell "T_y", representing end-user requirement 3) offer us the following sets of derivatives.

Figure A.E.47.2 - Derivatives of cube v = (M_*,P_pe,D_co,T_q)

Figure A.E.47.3 - Derivatives of cube w = (M_*,P_*,D_co,T_y)

Figure A.E.47.4 - Derivatives of cube x = (M_mt,P_cl,D_*,T_y)

Figures A.E.47.2 to A.E.47.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 cube v, w and x.

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