override the title chris harrington [email protected]
TRANSCRIPT
Override the titleOverride the title
Chris HarringtonChris [email protected]
Session Overview
OLAP Review MDX Explained SDK/API Options Demos
MonthMonth1 1 22 3 3 4 4 776 6 5 5
Pro
du
ct
Pro
du
ct
Toothpaste Toothpaste
JuiceJuiceColaColaMilk Milk
CreamCream
Soap Soap
Regi
on
Regi
on
WWS S
N N
Dimensions: Dimensions: Product, Region, Product, Region, TimeTimeHierarchical summarization Hierarchical summarization pathspaths
Product Product Region Region TimeTimeIndustry Country YearIndustry Country Year
Category Region Category Region Quarter Quarter
Product City Month Product City Month WeekWeek
Office DayOffice Day
The Multidimensional Data Model
“Show me my sales by product by region by time”
Why Use OLAP? Relational database
Transactional processing Data Warehouse
Tactical information “What was the total revenue from soft drinks for
Sussex in January?” “What would be the effect on soft drink costs to
distributors if syrup prices went up by 10p/gallon and shipping costs went down by 5p/mile?”
OnLine Analytical Processing (OLAP) ‘Slice and dice’ for Data Warehouses
Terminology
Cube –Cube –A multi-dimensional A multi-dimensional container for container for information and pre-information and pre-calculated query calculated query results.results.
Terminology
Members –Members –A discrete name or A discrete name or identifier used to identifier used to identify a data item's identify a data item's position and position and description within a description within a dimension. dimension.
Time
Pro
du
cts
Loca
tion
China
China PeruPeruJapan
JapanItalyItaly
Jan
uary
Jan
uary
Feb
ruary
Feb
ruary
Marc
hM
arc
h
Ap
ril
Ap
ril
CoffeeCoffee
ApplesApples
TeaTea
OnionsOnions
Terminology
Jan
uary
Jan
uary
Week1
Week1
Week2
Week2
Mon
day
Mon
day
Tu
esd
ay
Tu
esd
ay
Am
Am
pm
pm
Week3
Week3
Feb
ruary
Feb
ruary
Marc
hM
arc
h
Ap
ril
Ap
ril
Hierarchy –Hierarchy –Parent-child Parent-child relationships within a relationships within a dimension. dimension.
A detail member of a A detail member of a dimension is the lowest dimension is the lowest level number in its level number in its hierarchy. hierarchy.
Time
Pro
du
cts
Loca
tion
China
China PeruPeruJapan
JapanItalyItaly
CoffeeCoffee
ApplesApples
TeaTea
OnionsOnions
Jan
uary
Jan
uary
Feb
ruary
Feb
ruary
Marc
hM
arc
h
Ap
ril
Ap
ril
Terminology
Level –Level –Position within a Position within a hierarchy.hierarchy.
e.g. Jan, Feb are of the e.g. Jan, Feb are of the level level MonthMonth within within TimeTime
Monday, Tuesday Monday, Tuesday would be of the level would be of the level DayDay
Jan
uary
Jan
uary
Week1
Week1
Week2
Week2
Feb
ruary
Feb
ruary
Week1
Week1
Week2
Week2
Marc
hM
arc
h
Ap
ril
Ap
ril
Time
Pro
du
cts
Loca
tion
China
China PeruPeruJapan
JapanItalyItaly
CoffeeCoffee
ApplesApples
TeaTea
OnionsOnions