You are on page 1of 29

Data Warehouse : Northwind-Cube

1|Page

Data Warehouse : Northwind-Cube

2|Page

Data warehouse: Northwind-Qube


Cube
Cube OLAP Cube (Data structure)
OLAP OLAP Cube
dimensions Cube Data warehouse
SSAS SQL Server Business Information Warehouse SAP Business
intelligence Cube
(Cube) Dimention Measure
Dimention (Cube) (Cube) 2 Star Schema
Snowflake Schema

1. (Dimantion)
requirement Data source
Fact Table
2. (Measure)
Foreign keys composite key
Measure
Dimensional Modeling
Dimensional Modeling
3,4,5

(product) (market)
(time) Dimensional Modeling label product, market time
3 coordinate label
3 ,
,

Data Warehouse : Northwind-Cube

3|Page

Dimensional
2
1. Star schema multidimensional model data warehouse 1 star schema
star schema fact table dimension table
fact normalized center
Star Schema query data disk
queries dimension table dimension key index central fact table
, query

Slice and Dice View of Sales


Data Warehouse : Northwind-Cube

4|Page

Star Schema for Sales

Data Warehouse : Northwind-Cube

5|Page

Data (Hyper) cubes 2-d to 3-d cube

Rotating the cube

2. Snowflake schema Star schema dimension table


normal form star schema design snowflake

-
- design implement star schema
Snowflake Schema





1. Roll up (drill-up):
2. Drill down (roll down):
3. Slice and dice:
- slice
- dice
4. Pivot (rotate)

Data Warehouse : Northwind-Cube

6|Page

(Creation Data Cube) Analysis Services Project

1.
2. OLTP
3. Data source
4.
5.

Northwind_Star Analysis services Project



1. Data Sources
2. Data Sources views
3. Dimension
4. Cube

Northwind_Star
Northwind_Star Dimension Table Fact Table
(OLTP)

Data Warehouse : Northwind-Cube

7|Page

Analysis Services Project


File > New Project Analysis Services Project Project OK
workspace Solution Explorer
1 Data sources
1. New > Data sources

2. Data sources wizard Next

Data Warehouse : Northwind-Cube

8|Page

3. connection data sources connection New


commection Next
Provider : Microsoft OLE Provider for SQL server
Server Name ( local )
Database northwind_star
Click Test Connection Button to verify the connection

4. Inherit Next

Data Warehouse : Northwind-Cube

9|Page

4. connection Account Next


data sources Finish data source

Data Warehouse : Northwind-Cube

10 | P a g e

2 Data sources Views


5. Data Sources View New Data Sources View

6. Data Sources View Wizard Next

Data Warehouse : Northwind-Cube

11 | P a g e

7. data source list New Data Sources Next

8. Same name primary key Next

Data Warehouse : Northwind-Cube

12 | P a g e

9. Table View

10. Finish Data source View

Data Warehouse : Northwind-Cube

13 | P a g e

11. Database

Data Warehouse : Northwind-Cube

14 | P a g e

3 Dimension
12. Dimension New Demension

13. Dimension Wizard Next

Data Warehouse : Northwind-Cube

15 | P a g e

14. Use an existing table Template Product Template Next

15. Main table Product_Dim Next

Data Warehouse : Northwind-Cube

16 | P a g e

16. Next

17. Finish Dimension

Data Warehouse : Northwind-Cube

17 | P a g e

18. Dimension workspace 3


Attribute attribute dimension
Hierarchies and Levels - Hierarchies dimension
Data Source View data source

19. hierarchy attribute hierarchy Attribute


hierarchies and Levels attribute attribute attribute

Data Warehouse : Northwind-Cube

18 | P a g e

20. Process dimension dimension Process

21. Process dimension Run

Data Warehouse : Northwind-Cube

19 | P a g e

22. Process dimension Close

23. browse dimension process dimension browse dimension dimension


dimension Browse tab Browser

Data Warehouse : Northwind-Cube

20 | P a g e

Shipper dimension
Build method
Datasource View
Dimension Type
Main Table dimension

Build the dimension using datasource


Northwind_Star
Standard Dimension
Main table Shipper_Dim
Key Column ShipperKey
Dimension Attribute
ShipperName
Specify Dimension Type
Regular
Dimension name
Shipper
Shipper dimension
Customer dimension
Build nethod
Build the dimension using datasource
Datasource View
Northwind_Star
Dimension Type
Standard Dimension
Main Table Dimension
Main Table Customer_Dim
Key Column CustomerKey
Dimension Attribute
Country, Region, City and CompanyName columns
Specify Dimension Type
Regular
Dimension name
Customer
Customer dimension
Time dimension
Build method
Build the dimension using datasource
Datasource View
Northwind_Star
Dimension Type
Time Dimension
Main Table Dimension
Main table Time_Dim Key Column TimeKey
Dimension Attribute
Year, Quarter , Month , Day
Specify Dimension Type
Regular
Dimension name
Time
Time dimension

Data Warehouse : Northwind-Cube

21 | P a g e

4 Cube
4.1 Cube
24. Cube Cube Solution Explorer New Cube

25. Cube Wizard Next

Data Warehouse : Northwind-Cube

22 | P a g e

26. Use existing tables Next

27. Cube Wizard Sales_Fact Next

Data Warehouse : Northwind-Cube

23 | P a g e

28. Cube Wizard Next

29. Finish Cube Wizard

Data Warehouse : Northwind-Cube

24 | P a g e

30. Cube

31. Process Cube Cube Process

Data Warehouse : Northwind-Cube

25 | P a g e

32. Process Cube Run

33. Process Cube Close

Data Warehouse : Northwind-Cube

26 | P a g e

4.2 Cube
34. Dimention Usage Add Cube Dimention Dimention
Dimention New Dimention

35. Add Cube Dimention

Data Warehouse : Northwind-Cube

27 | P a g e

4.3
36. Process Cube Cube Cube Browes
Browes Cube[Design]

37. Dimention Measure Cube


Measure
Measure product
Drop Colum Filed Here Category Name

Data Warehouse : Northwind-Cube

28 | P a g e


Measure 1998 Quarter 1
1. Dimension Time
2. Hierarchy Hierarchy
3. Operator Equal
4. Filter Expression Quarter 1 1998

Data Warehouse : Northwind-Cube

29 | P a g e

Measure Q1 1998

Cube

3
2

1. 1 Quantity
Total
2. 2 3 (Dimantion)

Austria
2 Austria 3 category Name 1
Austria

You might also like