SLIDE 19 19 Enterprise Information Systems Umberto Nanni
OLAP: Pivoting Operators
Rotating dimensions on a bidimensional table Example from: sales of (products by month) by (city) to: sales of (products by city) by (month)
RM FI AQ TO PA rinsing det aug-12 34 23 12 56 65 sep-12 56 45 23 44 67
76 34 34 55 45
aug-12 57 46 35 79 88 sep-12 79 68 46 67 90
99 57 57 78 68 brooms aug-12 46 35 24 68 77 sep-12 68 57 35 56 79
88 46 46 67 57 aug-12 sep-12 oct-12 rinsing det. RM 34 56 76 FI 23 45 34 AQ 12 23 34 TO 56 44 55 PA 65 67 45
RM 57 79 99 FI 46 68 57 AQ 35 46 57 TO 79 67 78 PA 88 90 68 brooms RM 46 68 88 FI 35 57 46 AQ 24 35 46 TO 68 56 67 PA 77 79 57
two