Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Section 6.1
SAS OLAP Cube Studio
Architecture
What Is OLAP?
OLAP (Online Analytical Processing) is a software
technology that enables users to dynamically analyze
data that is stored in multidimensional database tables.
Because of the way the data and its relationships are
stored, they are readily available for detailed queries and
analysis.
What Is OLAP?
Central to the OLAP storage process are cubes.
A cube is a set of data that is organized and structured
in a hierarchical, multidimensional arrangement, often
with numerous dimensions and levels of data.
What Is OLAP?
The classification information in the data is organized
into dimensions.
For example, a TIME dimension might have all input
columns related to time (date, month, year) grouped as
levels.
Dimension levels can then be organized into a hierarchy.
The hierarchy determines the logical order of the levels in
a dimension. The logical order makes it possible for users
to drill down into the cube data.
What Is OLAP?
Cubes also contain measures, which are based on
numeric analysis columns in the input tables.
These numeric values are summarized and stored in
the cube for quick access and analysis during a query.
Examples of measures include sales figures and
operational costs.
...
10
Month
1
1
2
2
3
3
1
1
2
2
3
3
Units
6
4
7
5
8
6
7
3
5
7
9
5
SalesAmount
300
200
350
250
400
300
350
150
250
350
450
250
12
13
14
Total
Units
72
20
24
28
36
36
10
12
14
10
12
14
Total
Sales
3600
1000
1200
1400
1800
1800
500
600
700
500
600
700
15
12
72
Total
Sales
3600
1
2
3
1
1
1
4
4
4
20
24
28
Total
Sales
1000
1200
1400
16
JLee
TMunch
2
2
6
6
36
36
Total
Sales
1800
1800
17
JLee
JLee
JLee
TMunch
TMunch
TMunch
1
2
3
1
2
3
3
3
3
3
3
3
2
2
2
2
2
2
10
12
14
10
12
14
Total
Sales
500
600
700
500
600
700
19
Sales
Total
Obs Person Month _TYPE_ _FREQ_ Units
7
8
9
10
11
12
JLee
JLee
JLee
TMunch
TMunch
TMunch
1
2
3
1
2
3
3
3
3
3
3
3
2
2
2
2
2
2
10
12
14
10
12
14
Sales
Total
Obs Person Month _TYPE_ _FREQ_ Units
5
6
22
JLee
TMunch
2
2
6
6
36
36
Total
Sales
500
600
700
500
600
700
Total
Sales
1800
1800
...
23
Sales
Total
Obs Person Month _TYPE_ _FREQ_ Units
7
8
9
10
11
12
JLee
JLee
JLee
TMunch
TMunch
TMunch
1
2
3
1
2
3
3
3
3
3
3
3
2
2
2
2
2
2
10
12
14
10
12
14
Sales
Total
Obs Person Month _TYPE_ _FREQ_ Units
2
1
1
4
20
3
2
1
4
24
4
3
1
4
28
27
Total
Sales
500
600
700
500
600
700
Total
Sales
1000
1200
1400
...
continued...
28
29
JLee
JLee
JLee
TMunch
TMunch
TMunch
1
2
3
1
2
3
3
3
3
3
3
3
2
2
2
2
2
2
10
12
14
10
12
14
Total
Sales
500
600
700
500
600
700
30
Section 6.2
The SAS OLAP Cube Studio
Interface
Menus and
Tools
33
Shortcut Bar
34
...
35
Options
Create OLAP
Schema
Source
Designer
Cube Designer
Navigation Tree
The navigation tree displays an organized list of the
cubes, OLAP schemas, and tables registered in the
selected SAS Metadata Repository.
Navigation
Tree
36
Status Bar
The status bar is located at the bottom of the SAS OLAP
Cube Studio application window. It displays short status
messages for the application.
Status Bar
37
Messages Window
The Messages window displays application messages
such as:
Application Server Error: Attempted
connection to Application Server failed.
Verify that the server is running.
To resize the Messages window, use your mouse to drag
the top edge of the window up or down. When you close
the window, your resized setting is saved.
To toggle the display of the Messages window, select
View Message Window.
38
Messages Window
Messages
Window
39
40
41
42
43
44
...
45
Hierarchy
an arrangement of members of a
dimension into levels that are based on
parent-child relationships. Each hierarchy
provides a navigational path that enables
users to drill down to increasing levels of
detail.
Level
46
47
48
...
Measures
Delivery_Time:
49
Average
Minimum
Maximum
OrionStar
Quantity:
Product Dimension
Order_Type
Product_ID
Average
Total_Retail_Price:
Sum
...
Building a Cube
This demonstration illustrates building a cube using
SAS OLAP Cube Studio.
50
Define
Data Libraries
Create
Stored Processes
Register
Source Tables
Define
Target Tables
Create
Information Maps
Metadata
Create
ETL Jobs
Create Reports
Create
OLAP Cubes
Exercises
This exercise reinforces the concepts discussed
previously.
51
Define
Data Libraries
Create
Stored Processes
Register
Source Tables
Define
Target Tables
Create
Information Maps
Metadata
Create
ETL Jobs
Create Reports
Create
OLAP Cubes
Section 6.3
SAS OLAP Cube Studio and
Microsoft Excel
53
54
55
56
Exercises
This exercise reinforces the concepts discussed
previously.
57