Contenu connexe Similaire à BI Apps OLAP & Reports- SSAS 2012 Tabular & Multidimensional Similaire à BI Apps OLAP & Reports- SSAS 2012 Tabular & Multidimensional (20) Plus de Sunny U Okoro (20) BI Apps OLAP & Reports- SSAS 2012 Tabular & Multidimensional 6. 5
DimPromotion
PK,I2 PromotionKey INTEGER
I1 PromotionAlternateKey INTEGER
EnglishPromotionName WCHAR(255)
SpanishPromotionName WCHAR(255)
FrenchPromotionName WCHAR(255)
DiscountPct DOUBLE
EnglishPromotionType WCHAR(50)
SpanishPromotionType WCHAR(50)
FrenchPromotionType WCHAR(50)
EnglishPromotionCategory WCHAR(50)
SpanishPromotionCategory WCHAR(50)
FrenchPromotionCategory WCHAR(50)
StartDate TIMESTAMP
EndDate TIMESTAMP
MinQty INTEGER
MaxQty INTEGER
FactSalesQuota
PK,I1 SalesQuotaKey INTEGER
FK2,U2 EmployeeKey INTEGER
FK1,U1 DateKey INTEGER
CalendarYear SMALLINT
CalendarQuarter UTINYINT
SalesAmountQuota CURRENCY
Date TIMESTAMP
DimOrganization
PK,I1 OrganizationKey INTEGER
FK2 ParentOrganizationKey INTEGER
PercentageOfOwnership WCHAR(16)
OrganizationName WCHAR(50)
FK1 CurrencyKey INTEGER
FactResellerSales
PK,I1 SalesOrderNumber WCHAR(20)
PK,I1 SalesOrderLineNumber UTINYINT
FK6,U5 ProductKey INTEGER
FK2,U4 OrderDateKey INTEGER
FK3,U2 DueDateKey INTEGER
FK4,U8 ShipDateKey INTEGER
FK8,U7 ResellerKey INTEGER
FK5,U3 EmployeeKey INTEGER
FK7,U6 PromotionKey INTEGER
FK1,U1 CurrencyKey INTEGER
FK9 SalesTerritoryKey INTEGER
RevisionNumber UTINYINT
OrderQuantity SMALLINT
UnitPrice CURRENCY
ExtendedAmount CURRENCY
UnitPriceDiscountPct DOUBLE
DiscountAmount DOUBLE
ProductStandardCost CURRENCY
TotalProductCost CURRENCY
SalesAmount CURRENCY
TaxAmt CURRENCY
Freight CURRENCY
CarrierTrackingNumber WCHAR(25)
CustomerPONumber WCHAR(25)
OrderDate TIMESTAMP
DueDate TIMESTAMP
ShipDate TIMESTAMP
DimSalesReason
PK,I1 SalesReasonKey INTEGER
SalesReasonAlternateKey INTEGER
SalesReasonName WCHAR(50)
SalesReasonReasonType WCHAR(50)
FactCurrencyRate
PK,FK1,I1 CurrencyKey INTEGER
PK,FK2,I1 DateKey INTEGER
AverageRate DOUBLE
EndOfDayRate DOUBLE
Date TIMESTAMP
DimSalesTerritory
PK,I2 SalesTerritoryKey INTEGER
I1 SalesTerritoryAlternateKey INTEGER
SalesTerritoryRegion WCHAR(50)
SalesTerritoryCountry WCHAR(50)
SalesTerritoryGroup WCHAR(50)
SalesTerritoryImage BINARY(524287)
DimProduct
PK,I2 ProductKey INTEGER
I1 ProductAlternateKey WCHAR(25)
FK1,U1 ProductSubcategoryKey INTEGER
WeightUnitMeasureCode WCHAR(3)
SizeUnitMeasureCode WCHAR(3)
EnglishProductName WCHAR(50)
SpanishProductName WCHAR(50)
FrenchProductName WCHAR(50)
StandardCost CURRENCY
FinishedGoodsFlag BOOL
Color WCHAR(15)
SafetyStockLevel SMALLINT
ReorderPoint SMALLINT
ListPrice CURRENCY
Size WCHAR(50)
SizeRange WCHAR(50)
Weight DOUBLE
DaysToManufacture INTEGER
ProductLine WCHAR(2)
DealerPrice CURRENCY
Class WCHAR(2)
Style WCHAR(2)
ModelName WCHAR(50)
LargePhoto BINARY(524287)
EnglishDescription WCHAR(400)
FrenchDescription WCHAR(400)
ChineseDescription WCHAR(400)
ArabicDescription WCHAR(400)
HebrewDescription WCHAR(400)
ThaiDescription WCHAR(400)
GermanDescription WCHAR(400)
JapaneseDescription WCHAR(400)
TurkishDescription WCHAR(400)
I1 StartDate TIMESTAMP
EndDate TIMESTAMP
Status WCHAR(7)
FactSurveyResponse
PK,I1 SurveyResponseKey INTEGER
FK2,U2 DateKey INTEGER
FK1,U1 CustomerKey INTEGER
ProductCategoryKey INTEGER
EnglishProductCategoryName WCHAR(50)
U3 ProductSubcategoryKey INTEGER
EnglishProductSubcategoryName WCHAR(50)
Date TIMESTAMP
DimAccount
PK,I2 AccountKey INTEGER
FK1 ParentAccountKey INTEGER
I1 AccountCodeAlternateKey INTEGER
ParentAccountCodeAlternateKey INTEGER
AccountDescription WCHAR(50)
AccountType WCHAR(50)
Operator WCHAR(50)
CustomMembers WCHAR(300)
ValueType WCHAR(50)
CustomMemberOptions WCHAR(200)
FactFinance
FinanceKey INTEGER
FK2 DateKey INTEGER
FK4 OrganizationKey INTEGER
FK3 DepartmentGroupKey INTEGER
FK5 ScenarioKey INTEGER
FK1 AccountKey INTEGER
Amount DOUBLE
Date TIMESTAMP
DimReseller
PK,I2 ResellerKey INTEGER
FK1,U1 GeographyKey INTEGER
I1 ResellerAlternateKey WCHAR(15)
Phone WCHAR(25)
BusinessType CHAR(20)
ResellerName WCHAR(50)
NumberEmployees INTEGER
OrderFrequency CHAR(1)
OrderMonth UTINYINT
FirstOrderYear INTEGER
LastOrderYear INTEGER
ProductLine WCHAR(50)
AddressLine1 WCHAR(60)
AddressLine2 WCHAR(60)
AnnualSales CURRENCY
BankName WCHAR(50)
MinPaymentType UTINYINT
MinPaymentAmount CURRENCY
AnnualRevenue CURRENCY
YearOpened INTEGER
DimProductCategory
PK,I2 ProductCategoryKey INTEGER
I1 ProductCategoryAlternateKey INTEGER
EnglishProductCategoryName WCHAR(50)
SpanishProductCategoryName WCHAR(50)
FrenchProductCategoryName WCHAR(50)
DimScenario
PK,I1 ScenarioKey INTEGER
ScenarioName WCHAR(50)
DimDepartmentGroup
PK,I1 DepartmentGroupKey INTEGER
FK1 ParentDepartmentGroupKey INTEGER
DepartmentGroupName WCHAR(50)
DimEmployee
PK,I1 EmployeeKey INTEGER
FK1,U1 ParentEmployeeKey INTEGER
EmployeeNationalIDAlternateKey WCHAR(15)
ParentEmployeeNationalIDAlternateKey WCHAR(15)
FK2,U2 SalesTerritoryKey INTEGER
FirstName WCHAR(50)
LastName WCHAR(50)
MiddleName WCHAR(50)
NameStyle BOOL
Title WCHAR(50)
HireDate WCHAR(10)
BirthDate WCHAR(10)
LoginID WCHAR(256)
EmailAddress WCHAR(50)
Phone WCHAR(25)
MaritalStatus WCHAR(1)
EmergencyContactName WCHAR(50)
EmergencyContactPhone WCHAR(25)
SalariedFlag BOOL
Gender WCHAR(1)
PayFrequency UTINYINT
BaseRate CURRENCY
VacationHours SMALLINT
SickLeaveHours SMALLINT
CurrentFlag BOOL
SalesPersonFlag BOOL
DepartmentName WCHAR(50)
StartDate WCHAR(10)
EndDate WCHAR(10)
Status WCHAR(50)
EmployeePhoto BINARY(524287)
FactInternetSalesReason
PK,FK2,I1 SalesOrderNumber WCHAR(20)
PK,FK2,I1 SalesOrderLineNumber UTINYINT
PK,FK1,I1 SalesReasonKey INTEGER
DimProductSubcategory
PK,I2 ProductSubcategoryKey INTEGER
I1 ProductSubcategoryAlternateKey INTEGER
EnglishProductSubcategoryName WCHAR(50)
SpanishProductSubcategoryName WCHAR(50)
FrenchProductSubcategoryName WCHAR(50)
FK1 ProductCategoryKey INTEGER
DimGeography
PK,I1 GeographyKey INTEGER
City WCHAR(30)
StateProvinceCode WCHAR(3)
StateProvinceName WCHAR(50)
CountryRegionCode WCHAR(3)
EnglishCountryRegionName WCHAR(50)
SpanishCountryRegionName WCHAR(50)
FrenchCountryRegionName WCHAR(50)
PostalCode WCHAR(15)
FK1 SalesTerritoryKey INTEGER
IpAddressLocator WCHAR(15)
DimCurrency
PK,I2 CurrencyKey INTEGER
I1 CurrencyAlternateKey WCHAR(3)
CurrencyName WCHAR(50)
FactInternetSales
PK,I1 SalesOrderNumber WCHAR(20)
PK,I1 SalesOrderLineNumber UTINYINT
FK6,U6 ProductKey INTEGER
FK3,U5 OrderDateKey INTEGER
FK4,U4 DueDateKey INTEGER
FK5,U1 ShipDateKey INTEGER
FK2,U3 CustomerKey INTEGER
FK7,U7 PromotionKey INTEGER
FK1,U2 CurrencyKey INTEGER
FK8 SalesTerritoryKey INTEGER
RevisionNumber UTINYINT
OrderQuantity SMALLINT
UnitPrice CURRENCY
ExtendedAmount CURRENCY
UnitPriceDiscountPct DOUBLE
DiscountAmount DOUBLE
ProductStandardCost CURRENCY
TotalProductCost CURRENCY
SalesAmount CURRENCY
TaxAmt CURRENCY
Freight CURRENCY
CarrierTrackingNumber WCHAR(25)
CustomerPONumber WCHAR(25)
OrderDate TIMESTAMP
DueDate TIMESTAMP
ShipDate TIMESTAMP
FactCallCenter
PK,I2 FactCallCenterID INTEGER
FK1,I1 DateKey INTEGER
WageType WCHAR(15)
I1 Shift WCHAR(20)
LevelOneOperators SMALLINT
LevelTwoOperators SMALLINT
TotalOperators SMALLINT
Calls INTEGER
AutomaticResponses INTEGER
Orders INTEGER
IssuesRaised SMALLINT
AverageTimePerIssue SMALLINT
ServiceGrade DOUBLE
Date TIMESTAMP
DimDate
PK,I2 DateKey INTEGER
I1 FullDateAlternateKey WCHAR(10)
DayNumberOfWeek UTINYINT
EnglishDayNameOfWeek WCHAR(10)
SpanishDayNameOfWeek WCHAR(10)
FrenchDayNameOfWeek WCHAR(10)
DayNumberOfMonth UTINYINT
DayNumberOfYear SMALLINT
WeekNumberOfYear UTINYINT
EnglishMonthName WCHAR(10)
SpanishMonthName WCHAR(10)
FrenchMonthName WCHAR(10)
MonthNumberOfYear UTINYINT
CalendarQuarter UTINYINT
CalendarYear SMALLINT
CalendarSemester UTINYINT
FiscalQuarter UTINYINT
FiscalYear SMALLINT
FiscalSemester UTINYINT
DimCustomer
PK,I2 CustomerKey INTEGER
FK1,U1 GeographyKey INTEGER
I1 CustomerAlternateKey WCHAR(15)
Title WCHAR(8)
FirstName WCHAR(50)
MiddleName WCHAR(50)
LastName WCHAR(50)
NameStyle BOOL
BirthDate WCHAR(10)
MaritalStatus WCHAR(1)
Suffix WCHAR(10)
Gender WCHAR(1)
EmailAddress WCHAR(50)
YearlyIncome CURRENCY
TotalChildren UTINYINT
NumberChildrenAtHome UTINYINT
EnglishEducation WCHAR(40)
SpanishEducation WCHAR(40)
FrenchEducation WCHAR(40)
EnglishOccupation WCHAR(100)
SpanishOccupation WCHAR(100)
FrenchOccupation WCHAR(100)
HouseOwnerFlag WCHAR(1)
NumberCarsOwned UTINYINT
AddressLine1 WCHAR(120)
AddressLine2 WCHAR(120)
Phone WCHAR(20)
DateFirstPurchase WCHAR(10)
CommuteDistance WCHAR(15)
FactProductInventory
PK,FK2,I1 ProductKey INTEGER
PK,FK1,I1 DateKey INTEGER
MovementDate WCHAR(10)
UnitCost CURRENCY
UnitsIn INTEGER
UnitsOut INTEGER
UnitsBalance INTEGER
AdventureWorksDW2012
Database Diagram
16. 15
I have two instances of SQL Server Database Systems. One instance was installed with the
multidimensional Analysis Services and the other instance was installed with Tabular Analysis Services
based on the BI version of SQL Server 2012.