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

Exercise No. 32: Haircut (apa)

This cube stores data of an information system of a hair dressing salon.

We have four dimensions with the following hierarchical structure (the dimension "Stylist" features a parallel hierarchy at level 1):

Table A.E.69.1 - haircut

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

1) "a roll-up of the time dimension starting at months for each combination of branch and sex of the customer"

2) "a daily report for each stylist"

Select the corresponding cells in the APA and choose a cube to materialize, then highlight the derivatives of this cube.

Solution

Figure A.E.69.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 of the time dimension starting at months for each combination of branch and sex of the customer") and the end-user requirement 2 ("a daily report for each stylist").

Materializing cube v = (A_*, C_se, S_br, E_*, T_m) (dark blue cell "T_m", representing end-user requirement 1) and cube w = (A_*, C_*, S_st, E_*, T_d) (dark green cell "T_m", representing end-user requirement 2) offers us the following sets of derivatives.

Figure A.E.69.2 - Derivatives of cube v = (A_*, C_se, S_br, E_*, T_m)

Figure A.E.69.3 - Derivatives of cube w= (A_*, C_*, S_st, E_*, T_d)

Figures A.E.69.2 and A.E.69.3 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 both cubes, v and w.

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