Professional Documents
Culture Documents
OBIEE Dimensional Modeling
OBIEE Dimensional Modeling
OBIEEDimensionalModeling
OBIEETutorial
OBIEEHome
OBIEEDataWarehouse
OBIEEDimensionalModeling
OBIEESchema
OBIEEBasics
OBIEEComponents
OBIEEArchitecture
OBIEERepositories
OBIEEBusinessLayer
OBIEEPresentationLayer
OBIEETestingRepository
OBIEEMultipleLogicalTable
OBIEECalculationMeasures
OBIEEDimensionHierarchies
OBIEELevelBasedMeasures
OBIEEAggregates
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
1/7
3/2/2016
OBIEEDimensionalModeling
OBIEEVariables
OBIEEDashboards
OBIEEFilters
OBIEEViews
OBIEEPrompts
OBIEESecurity
OBIEEAdministration
OBIEEUsefulResources
OBIEEQuickGuide
OBIEEUsefulResources
OBIEEDiscussion
OBIEEDimensionalModeling
Advertisements
PreviousPage
NextPage
Dimensional modeling provides set of methods and concepts that are used in DW design.
According to DW consultant, Ralph Kimball, dimensional modeling is a design technique for
databases intended to support enduser queries in a data warehouse. It is oriented around
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
2/7
3/2/2016
OBIEEDimensionalModeling
DimensionTable
DimensiontablestorestheattributesthatdescribeobjectsinaFacttable.ADimensiontable
hasaprimarykeythatuniquelyidentifieseachdimensionrow.Thiskeyisusedtoassociate
theDimensiontabletoaFacttable.
Dimensiontablesarenormallydenormalizedastheyarenotcreatedtoexecutetransactions
andonlyusedtoanalyzedataindetail.
Example
In the following dimension table, the customer dimension normally includes the name of
customers,address,customerid,gender,incomegroup,educationlevels,etc.
CustomerID
Name
Gender
Income
Education
Religion
BrianEdge
FredSmith
SallyJones
FactTables
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
3/7
3/2/2016
OBIEEDimensionalModeling
Fact table contains numeric values that are known as measurements. A Fact table has two
typesofcolumnsfactsandforeignkeytodimensiontables.
MeasuresinFacttableareofthreetypes
AdditiveMeasuresthatcanbeaddedacrossanydimension.
NonAdditiveMeasuresthatcannotbeaddedacrossanydimension.
SemiAdditiveMeasuresthatcanbeaddedacrosssomedimensions.
Example
TimeID
ProductID
CustomerID
UnitSold
17
21
This fact tables contains foreign keys for time dimension, product dimension, customer
dimensionandmeasurementvalueunitsold.
Supposeacompanysellsproductstocustomers.Everysaleisafactthathappenswithinthe
company,andthefacttableisusedtorecordthesefacts.
Commonfactsarenumberofunitsold,margin,salesrevenue,etc.Thedimensiontablelist
factorslikecustomer,time,product,etc.bywhichwewanttoanalyzethedata.
Now if we consider the above Fact table and Customer dimension then there will also be a
Productandtimedimension.Giventhisfacttableandthesethreedimensiontables,wecan
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
4/7
3/2/2016
OBIEEDimensionalModeling
askquestionslike:Howmanywatchesweresoldtomalecustomersin2010?
DifferencebetweenDimensionandFactTable
Thefunctionaldifferencebetweendimensiontablesandfacttablesisthatfacttablesholdthe
data we want to analyze and dimension tables hold the information required to allow us to
queryit.
AggregateTable
Aggregate table contains aggregated data which can be calculated by using different
aggregatefunctions.
Anaggregatefunctionisafunctionwherethevaluesofmultiplerowsaregroupedtogether
as input on certain criteria to form a single value of more significant meaning or
measurement.
Commonaggregatefunctionsinclude
Average()
Count()
Maximum()
Median()
Minimum()
Mode()
Sum()
These aggregate tables are used for performance optimization to run complex queries in a
datawarehouse.
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
5/7
3/2/2016
OBIEEDimensionalModeling
Example
You save tables with aggregated data like yearly (1 row), quarterly (4 rows), monthly (12
rows)andnowyouhavetodocomparisonofdata,likeYearlyonly1rowwillbeprocessed.
Howeverinanunaggregatedtable,alltherowswillbeprocessed.
MIN
Returnsthesmallestvalueinagivencolumn
MAX
Returnsthelargestvalueinagivencolumn
SUM
Returnsthesumofthenumericvaluesinagivencolumn
AVG
Returnstheaveragevalueofagivencolumn
COUNT
Returnsthetotalnumberofvaluesinagivencolumn
COUNT(*)
Returnsthenumberofrowsinatable
Select Avg (salary) from employee where title = developer. This statement will return the
averagesalaryforallemployeeswhosetitleisequalto'Developer'.
Aggregationscanbeappliedatdatabaselevel.Youcancreateaggregatesandsavethemin
aggregatetablesinthedatabaseoryoucanapplyaggregateontheflyatthereportlevel.
NoteIfyousaveaggregatesatthedatabaselevelitsavestimeandprovidesperformance
optimization.
PreviousPage
NextPage
Advertisements
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
6/7
3/2/2016
OBIEEDimensionalModeling
Write for us
FAQ's
Helping
http://www.tutorialspoint.com/obiee/obiee_dimensional_modeling.htm
Contact
Enter email for newsletter
go
7/7