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

Exercise No. 52: At The Movies (apa)

The cube resulting from DFM Case "at the movies" stores data about customers watching a movie in a movie-hall.

We have five dimensions with the following hierarchical structure:

Table A.E.49.1 - at the movies

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

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

2) "a daily report on the movie type level independent of all other dimensions"

3) "a complete drill-down by the time dimension down to month for each combination of movie-hall type and movie 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.49.1 - The resulting APA with the redundancy free-set highlighted

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

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 weeks for each employee independent of all other dimensions"), requirement 2 ("a daily report on the movie type level independent of all other dimensions") and requirement 3 ("a complete drill-down by the time dimension down to month for each combination of movie-hall type and movie type, irrespective of all other dimensions").

Materializing cube v = (E_em,C_*,M_*,MH_*,T_w) (dark blue cell "T_w", representing end-user requirement 1), cube w = (E_*,C_*,M_ty,MH_*,T_d) (dark green cell "MH_*", representing end-user requirement 2) and cube x = (E_*,C_*,M_ty,MH_ty,T_m) (red cell "T_m", representing end-user requirement 3) offer us the following sets of derivatives.

Figure A.E.49.2 - Derivatives of cube v = (E_em,C_*,M_*,MH_*,T_w)

Figure A.E.49.3 - Derivatives of cube w = (E_*,C_*,M_ty,MH_*,T_d)

Figure A.E.49.4 - Derivatives of cube x = (E_*,C_*,M_ty,MH_ty,T_m)

Figures A.E.49.2 to A.E.49.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