Documente Academic
Documente Profesional
Documente Cultură
DimAccount
COLUMNS
TYPE
AccountKey
ParentAccountKey
AccountLabel
AccountName
AccountDescription
AccountType
Operator
CustomMembers
ValueType
CustomMemberOptions
ETLLoadID
LoadDate
UpdateDate
int
int
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
int
datetime
datetime
Table Name
DimChannel
COLUMNS
TYPE
ChannelKey
ChannelLabel
ChannelName
ChannelDescription
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
int
datetime
datetime
Table Name
DimCurrency
COLUMNS
TYPE
CurrencyKey
CurrencyLabel
CurrencyName
CurrencyDescription
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
int
datetime
datetime
Table Name
DimCustomer
COLUMNS
TYPE
CustomerKey
GeographyKey
CustomerLabel
Title
FirstName
int
int
nvarchar
nvarchar
nvarchar
LENGTH
4
4
100
50
50
50
50
300
50
200
4
8
8
LENGTH
4
100
20
50
4
8
8
LENGTH
4
10
20
50
4
8
8
LENGTH
4
4
100
8
50
MiddleName
LastName
NameStyle
BirthDate
MaritalStatus
Suffix
Gender
EmailAddress
YearlyIncome
TotalChildren
NumberChildrenAtHome
Education
Occupation
HouseOwnerFlag
NumberCarsOwned
AddressLine1
AddressLine2
Phone
DateFirstPurchase
CustomerType
ETLLoadID
LoadDate
UpdateDate
nvarchar
nvarchar
bit
date
nvarchar
nvarchar
nvarchar
nvarchar
money
tinyint
tinyint
nvarchar
nvarchar
nchar
tinyint
nvarchar
nvarchar
nvarchar
date
nvarchar
int
datetime
datetime
Table Name
DimDate
COLUMNS
TYPE
Datekey
FullDateLabel
DateDescription
CalendarYear
CalendarYearLabel
CalendarHalfYear
CalendarHalfYearLabel
CalendarQuarter
CalendarQuarterLabel
CalendarMonth
CalendarMonthLabel
CalendarWeek
CalendarWeekLabel
CalendarDayOfWeek
CalendarDayOfWeekLabel
FiscalYear
FiscalYearLabel
Datetime
nvarchar
nvarchar
int
nvarchar
int
nvarchar
int
nvarchar
int
nvarchar
int
nvarchar
int
nvarchar
int
nvarchar
50
50
1
3
1
10
1
50
8
1
1
40
100
1
1
120
120
20
3
15
4
8
8
LENGTH
20
20
4
20
4
20
4
20
4
20
4
20
4
10
4
20
FiscalHalfYear
FiscalHalfYearLabel
FiscalQuarter
FiscalQuarterLabel
FiscalMonth
FiscalMonthLabel
IsWorkDay
IsHoliday
HolidayName
EuropeSeason
NorthAmericaSeason
AsiaSeason
int
nvarchar
int
nvarchar
int
nvarchar
nvarchar
int
nvarchar
nvarchar
nvarchar
nvarchar
Table Name
DimEmployee
COLUMNS
TYPE
EmployeeKey
ParentEmployeeKey
FirstName
LastName
MiddleName
Title
HireDate
BirthDate
EmailAddress
Phone
MaritalStatus
EmergencyContactName
EmergencyContactPhone
SalariedFlag
Gender
PayFrequency
BaseRate
VacationHours
CurrentFlag
SalesPersonFlag
DepartmentName
StartDate
EndDate
Status
ETLLoadID
LoadDate
UpdateDate
int
int
nvarchar
nvarchar
nvarchar
nvarchar
date
date
nvarchar
nvarchar
nchar
nvarchar
nvarchar
bit
nchar
tinyint
money
smallint
bit
bit
nvarchar
date
date
nvarchar
int
datetime
datetime
4
20
4
20
4
20
20
4
20
50
50
50
LENGTH
4
4
50
50
50
50
3
3
50
25
1
50
25
1
1
1
8
2
1
1
50
3
3
50
4
8
8
Table Name
DimEntity
COLUMNS
TYPE
EntityKey
EntityLabel
ParentEntityKey
ParentEntityLabel
EntityName
EntityDescription
EntityType
StartDate
EndDate
Status
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
int
nvarchar
nvarchar
nvarchar
nvarchar
datetime
datetime
nvarchar
int
datetime
datetime
Table Name
DimMachine
COLUMNS
TYPE
MachineKey
MachineLabel
StoreKey
MachineType
MachineName
MachineDescription
VendorName
MachineOS
MachineSource
MachineHardware
MachineSoftware
Status
ServiceStartDate
DecommissionDate
LastModifiedDate
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
int
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
datetime
datetime
datetime
int
datetime
datetime
Table Name
DimOutage
COLUMNS
TYPE
OutageKey
OutageLabel
OutageName
OutageDescription
int
nvarchar
nvarchar
nvarchar
LENGTH
4
100
4
100
50
100
100
8
8
50
4
8
8
LENGTH
4
100
4
50
100
200
50
50
100
100
100
50
8
8
8
4
8
8
LENGTH
4
100
50
200
OutageType
OutageTypeDescription
OutageSubType
OutageSubTypeDescription
ETLLoadID
LoadDate
UpdateDate
nvarchar
nvarchar
nvarchar
nvarchar
int
datetime
datetime
Table Name
DimProduct
COLUMNS
TYPE
ProductKey
ProductLabel
ProductName
ProductDescription
ProductSubcategoryKey
Manufacturer
BrandName
ClassID
ClassName
StyleID
StyleName
ColorID
ColorName
Size
SizeRange
SizeUnitMeasureID
Weight
WeightUnitMeasureID
UnitOfMeasureID
UnitOfMeasureName
StockTypeID
StockTypeName
UnitCost
UnitPrice
AvailableForSaleDate
StopSaleDate
Status
ImageURL
ProductURL
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
int
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
float
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
money
money
datetime
datetime
nvarchar
nvarchar
nvarchar
int
datetime
datetime
50
200
50
200
4
8
8
LENGTH
4
255
500
400
4
50
50
10
20
10
20
10
20
50
50
20
8
20
10
40
10
40
8
8
8
8
7
150
150
4
8
8
Table Name
DimProductCategory
COLUMNS
TYPE
ProductCategoryKey
ProductCategoryLabel
ProductCategoryName
ProductCategoryDescription
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
int
datetime
datetime
Table Name
DimProductSubcategory
COLUMNS
TYPE
ProductSubcategoryKey
ProductSubcategoryLabel
ProductSubcategoryName
ProductSubcategoryDesciption
ProductCategoryKey
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
int
int
datetime
datetime
Table Name
DimPromotion
COLUMNS
TYPE
PromotionKey
PromotionLabel
PromotionName
Promotiondescription
DiscountPercent
PromotionType
PromotionCategory
MinQuantity
MaxQuantity
StartDate
EndDate
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
float
nvarchar
nvarchar
int
int
datetime
datetime
int
datetime
datetime
Table Name
DimSalesTerritory
COLUMNS
TYPE
SalesTerritoryKey
GeographyKey
SalesTerritoryLabel
int
int
nvarchar
LENGTH
4
100
30
50
4
8
8
LENGTH
4
100
50
100
4
4
8
8
LENGTH
4
100
20
255
8
50
50
4
4
8
8
4
8
8
LENGTH
4
4
100
SalesTerritoryName
SalesTerritoryRegion
SalesTerritoryCountry
SalesTerritoryGroup
SalesTerritoryLevel
SalesTerritoryManager
StartDate
EndDate
Status
ETLLoadID
LoadDate
UpdateDate
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
int
datetime
datetime
nvarchar
int
datetime
datetime
Table Name
DimScenario
COLUMNS
TYPE
ScenarioKey
ScenarioLabel
ScenarioName
ScenarioDescription
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
int
datetime
datetime
Table Name
DimStore
COLUMNS
TYPE
StoreKey
GeographyKey
StoreManager
StoreType
StoreName
StoreDescription
Status
OpenDate
CloseDate
EntityKey
ZipCode
ZipCodeExtension
StorePhone
StoreFax
AddressLine1
AddressLine2
CloseReason
EmployeeCount
int
int
int
nvarchar
nvarchar
nvarchar
nvarchar
datetime
datetime
int
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
int
50
50
50
50
10
4
8
8
50
4
8
8
LENGTH
4
100
20
50
4
8
8
LENGTH
4
4
4
15
100
300
20
8
8
4
20
10
15
14
100
100
20
4
SellingAreaSize
LastRemodelDate
GeoLocation
Geometry
ETLLoadID
LoadDate
UpdateDate
float
datetime
geography
geometry
int
datetime
datetime
Table Name
DimGeography
COLUMNS
TYPE
GeographyKey
GeographyType
ContinentName
CityName
StateProvinceName
RegionCountryName
Geometry
ETLLoadID
LoadDate
UpdateDate
int
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
geometry
int
datetime
datetime
8
8
4
8
8
LENGTH
4
50
50
100
100
100
4
8
8
description
description
description
description
description
description
description
description
description
The
The
The
The
description
description
description
Primary Key
The label of the subcategory
The subcategory's name(Televisions/VCD&DVD/Home Theater System/Accessories)
The details of the subcategory
Which category the subcategory belongs to
ETL load process ID
Loaded date, used for ETL
Updated date, used for ETL
description
description
description
description
description
NOTES
PK
NOTES
PK
NOTES
PK
NOTES
PK
FK
NOTES
PK
NOTES
PK
FK
NOTES
PK
NOTES
PK
FK
NOTES
PK
NOTES
PK
FK
NOTES
PK
NOTES
PK
FK
NOTES
PK
NOTES
PK
FK
NOTES
PK
NOTES
PK
FK
NOTES
PK
Table Name
COLUMNS
TYPE
ExchangeRateKey
CurrencyKey
DateKey
AverageRate
EndOfDayRate
ETLLoadID
LoadDate
UpdateDate
int
int
datetime
float
float
int
datetime
datetime
Table Name
FactInventory (Summary table, containes per store per product weekly invento
COLUMNS
TYPE
InventoryKey
DateKey
StoreKey
ProductKey
CurrencyKey
OnHandQuantity
OnOrderQuantity
SafetyStockQuantity
UnitCost
DaysInStock
MinDayInStock
MaxDayInStock
Aging
ETLLoadID
LoadDate
UpdateDate
int
datetime
int
int
int
int
int
int
money
int
int
int
int
int
datetime
datetime
Table Name
COLUMNS
TYPE
ITMachinekey
MachineKey
Datekey
CostAmount
CostType
ETLLoadID
LoadDate
UpdateDate
int
int
datetime
money
nvarchar
int
datetime
datetime
Table Name
COLUMNS
TYPE
LENGTH
4
4
8
8
4
8
8
LENGTH
4
4
4
4
4
4
4
8
4
4
4
4
4
8
8
LENGTH
4
4
8
200
4
8
8
LENGTH
ITSLAkey
DateKey
StoreKey
MachineKey
OutageKey
OutageStartTime
OutageEndTime
DownTime
ETLLoadID
LoadDate
UpdateDate
int
datetime
int
int
int
datetime
datetime
int
int
datetime
datetime
Table Name
FactSales (Summary table, contains per store per product daily sales data)
COLUMNS
TYPE
SalesKey
DateKey
ChannelKey
StoreKey
ProductKey
PromotionKey
CurrencyKey
UnitCost
UnitPrice
SalesQuantity
ReturnQuantity
ReturnAmount
DiscountQuantity
DiscountAmount
TotalCost
SalesAmount
ETLLoadID
LoadDate
UpdateDate
int
datetime
int
int
int
int
int
money
money
int
int
money
int
money
money
money
int
datetime
datetime
Table Name
COLUMNS
TYPE
SalesQuotaKey
StoreKey
ProductKey
ChannelKey
DateKey
CurrencyKey
ScenarioKey
int
int
int
int
datetime
int
int
4
4
4
8
8
4
4
8
8
LENGTH
4
4
4
4
4
4
8
8
4
4
8
4
8
8
8
4
8
8
LENGTH
4
4
4
4
4
4
SalesAmountQuota
SalesQuantityQuota
GrossMarginQuota
ETLLoadID
LoadDate
UpdateDate
money
money
money
int
datetime
datetime
8
8
8
4
8
8
Table Name
COLUMNS
TYPE
StrategyPlanKey
Datekey
EntityKey
ScenarioKey
AccountKey
CurrencyKey
ProductCategoryKey
Amount
ETLLoadID
LoadDate
UpdateDate
int
datetime
int
int
int
int
int
money
int
datetime
datetime
Table Name
COLUMNS
TYPE
OnlineSalesKey
DateKey
StoreKey
ProductKey
PromotionKey
CurrencyKey
CustomerKey
SalesOrderNumber
SalesOrderLineNumber
SalesQuantity
SalesAmount
ReturnQuantity
ReturnAmount
DiscountQuantity
DiscountAmount
TotalCost
UnitCost
UnitPrice
ETLLoadID
int
datetime
int
int
int
int
int
nvarchar
int
int
money
int
money
int
money
money
money
money
int
LENGTH
4
4
4
4
4
4
8
4
8
8
LENGTH
4
4
4
4
4
4
20
4
4
8
4
8
4
8
8
8
8
4
LoadDate
UpdateDate
datetime
datetime
8
8
s exchange rates converted from other currency to basic currency of Contoso Corporate)
DISCRIPTION
ational plan, not only contains Planning/Forecasting/Budgeting data, but also contains actual sales data)
DISCRIPTION
e strategic plan, contains the whole group's monthly Actual/Forecasting/Budgeting Profit & Loss data)
DISCRIPTION
NOTES
PK
FK
FK
NOTES
PK
FK
FK
FK
FK
NOTES
PK
FK
FK
NOTES
PK
FK
FK
FK
FK
NOTES
PK
FK
FK
FK
FK
FK
FK
NOTES
PK
FK
FK
FK
FK
FK
NOTES
PK
FK
FK
FK
FK
FK
FK
NOTES
PK
FK
FK
FK
FK
FK
Dimensions
Promotion
Currency
Channel
Machine
Scenario
Geography
Customer
Account
Employee
Product
Store
Sales Territory
Entity
Outage
Date
Cube (Perspective)
Dimensions
Promotion
Currency
Channel
Scenario
Employee
Geography
Product
Store
SalesTerritory
Entity
Date
Measure Group
Sales
Sales Quota
Exchange Rate
Calculated Members
KPIs
Name set
Cube (Perspective)
Dimensions
Product
Geography
Store
Currency
Date
Entity
SalesTerritory
Employee
Measure Group
Inventory
Exchange Rate
Calculation Members
KPI
Cube (Perspective)
Dimensions
Machine
Store
Outage
Fact IT Machine
Geography
Date
Entity
Employee
SalesTerritory
Measure Group
IT SLA
IT Machine
Machine
Calculated Members
KPI
Cube
Dimensions
Scenario
Account
Entity
Currency
Product
Date
Channel
Measure Group
Strategy Plan
Exchange Rate
Calculated Members
KPI
Data Mining
Name
Customer Classification
Customer Promotion
Basket Analysis
Product Forecast
Hierarchy Name
Geography Hierarchy
Account Level
Employee Level
Product Hierarchy
Geography Hierarchy
Sales Territory Hierarchy
Entity Level
Outage Type Hierarchy
Calendar YQMD
Calendar YWD
Fiscal YQM
Operation(Sales)
Hierarchy Name
Measure Name
Sales
Sales
Sales
Sales
Sales
Sales
Sales
Quantity
Amount
Discount Amount
Discount Quantity
Return Quantity
Return Amount
Total Cost
Operation(Inventory)
Name
Formulas
Operation(IT Machine)
Hierarchy
Formulas
Strategy Plan
Hierarchy
Formulas
Name
Scenario
Hierarchy
Hierarchy
Formulas
Formulas
case
when [Measures].[Parallel Period Of Last FY Sales Gross Margin] = 0
then 0
ELSE ( ([Measures].[Sales Gross Margin] - [Measures].[Parallel Period Of Last FY Sales
Gross Margin]) / [Measures].[Parallel Period Of Last FY Sales Gross Margin] )
END
case
when [Measures].[Parallel Period Of Last FY Sales Return Amount] = 0
then 0
ELSE ( ([Measures].[Sales Return Amount] - [Measures].[Parallel Period Of Last FY
Sales Return Amount]) / [Measures].[Parallel Period Of Last FY Sales Return Amount] )
END
case
when [Measures].[Parallel Period Of Last FY Sales Total Cost] = 0
then 0
ELSE ( ([Measures].[Sales Total Cost] - [Measures].[Parallel Period Of Last FY Sales
Total Cost]) / [Measures].[Parallel Period Of Last FY Sales Total Cost] )
END
case
when [Measures].[Parallel Period Of Last FY Sales Discount Amount] = 0
then 0
ELSE ( ([Measures].[Sales Discount Amount] - [Measures].[Parallel Period Of Last FY
Sales Discount Amount]) / [Measures].[Parallel Period Of Last FY Sales Discount
Amount] )
END
case
when [Measures].[Parallel Period Of Last Calendar Sales Amount] = 0
then 0
ELSE (([Measures].[Sales Amount] - [Measures].[Parallel Period Of Last Calendar Sales
Amount] ) / [Measures].[Parallel Period Of Last Calendar Sales Amount] )
END
case
when [Measures].[Parallel Period Of Last Calendar Sales Gross Margin] = 0
then 0
ELSE ( ([Measures].[Sales Gross Margin] - [Measures].[Parallel Period Of Last Calendar
Sales Gross Margin] ) / [Measures].[Parallel Period Of Last Calendar Sales Gross
Margin] )
END
case
when [Measures].[Parallel Period Of Last Calendar Sales Return Amount] = 0
then 0
ELSE ( ([Measures].[Sales Return Amount] - [Measures].[Parallel Period Of Last
Calendar Sales Return Amount]) / [Measures].[Parallel Period Of Last Calendar Sales
Return Amount] )
END
case
when [Measures].[Parallel Period Of Last Calendar Sales Total Cost] = 0
then 0
ELSE ( ([Measures].[Sales Total Cost] - [Measures].[Parallel Period Of Last Calendar
Sales Total Cost]) / [Measures].[Parallel Period Of Last Calendar Sales Total Cost])
END
case
when [Measures].[Parallel Period Of Last Calendar Sales Discount Amount] = 0
then 0
ELSE ( ([Measures].[Sales Discount Amount] - [Measures].[Parallel Period Of Last
Calendar Sales Discount Amount]) / [Measures].[Parallel Period Of Last Calendar Sales
Discount Amount] )
END
Hierarchy
Formulas
Formulas
Algorithm
Microsoft_Clustering
Microsoft_Decision_Trees
Microsoft_Association_Rules
Microsoft_Time_Series
NOTES
P&L accounts
NOTES
NOTES
NOTES
Invisible
Invisible
Invisible
Invisible
Invisible
Invisible
Invisible
Invisible
NOTES
NOTES
NOTES
Sum
Sum
Invisible(sum)
Invisible(sum)
Invisible(sum)
Min
Max
Invisible(sum)
Invisible(Row Count )
NOTES
Invisible
NOTES
NOTES
NOTES
NOTES
NOTES
NOTES
Actual/Budget/Forecast
NOTES
NOTES
Invisible
Invisible
Data Source
V_Customer
V_CustomerPromotion
V_OnlineSalesOrder\V_OnlineSalesOrderDetail
V_ProductForecast
View Name
COLUMNS
TYPE
CustomerKey
Age
MaritalStatus
Gender
YearlyIncome
TotalChildren
NumberChildrenAtHome
Education
HouseOwnerFlag
NumberCarsOwned
Consumption
int
int
nchar
nvarchar
money
tinyint
tinyint
nvarchar
nchar
tinyint
money
View Name
COLUMNS
TYPE
CustomerKey
PromotionKey
PromotionName
PromotionType
ProductKey
MaritalStatus
Gender
YearlyIncome
TotalChildren
NumberChildrenAtHome
Education
Age
HouseOwnerFlag
NumberCarsOwned
int
int
nvarchar
nvarchar
int
nvarchar
nvarchar
money
tinyint
tinyint
nvarchar
int
nchar
tinyint
View Name
COLUMNS
TYPE
OrderNumber
CustomerKey
Region
IncomeGroup
nvarchar
int
nvarchar
nvarchar
View Name
COLUMNS
TYPE
OrderNumber
LineNumber
Product
nvarchar
int
nvarchar
LENGTH
4
4
1
1
8
1
1
40
1
1
8
LENGTH
4
4
20
50
4
1
1
8
1
1
40
4
1
1
LENGTH
20
4
100
8
LENGTH
20
4
500
View Name
COLUMNS
TYPE
OrderNumber
LineNumber
CalendarYear
FiscalYear
Month
ProductCategoryName
ProductSubcategory
Product
CustomerKey
Region
IncomeGroup
Age
Quantity
Amount
nvarchar
int
int
int
int
nvarchar
nvarchar
nvarchar
int
nvarchar
nvarchar
int
int
money
View Name
COLUMNS
TYPE
CalendarMonth
ReportDate
ProductCategoryName
SalesQuantity
SalesAmount
int
date
nvarchar
int
money
LENGTH
20
4
4
4
4
30
50
500
4
100
8
4
4
8
LENGTH
4
8
30
4
8
Customer key
The age of the customer
The marital status of the customer
The gender of the customer
The yearly income of the customer
The children number of the customer
The at-home children number
The education of the customer
The flag of whether the customer owns a house
The number of cars owned by customer
The Consumption of the customer
Customer key
Promotion key
Promotion's name
The type of the promotion plan(No Discount/Excess Inventory/Seasonal Discount)
Product Key
The marital status of the customer
The gender of the customer
The yearly income of the customer
The children number of the customer
The at-home children number
The education of the customer
The customer's age when purchased the product
Whether the customer owns a house.
The number of cars owned by the customer
Calendar month
The First day of the month
The category name (AUDIO/TV&VEDIO/COMPUTERS/CELLPHONES...)
The sales quantity
The sales amount
NOTES
NOTES
NOTES
NOTES
NOTES
NOTES