Professional Documents
Culture Documents
Objectives
After completing this lesson, you should be able to: Create logical dimensions with level-based hierarchies Create logical dimensions with parent-child hierarchies Create level-based measures Create share measures Create calculated members
9-2
Logical Dimensions
Introduce formal hierarchies into a business model Establish levels for data groupings and calculations Provide paths for drill down
Time dimension hierarchy
9-3
9-4
Level-Based Measures
Are columns whose values are calculated to a specific level of aggregation
Time dimension hierarchy
9-5
Share Measures
Are calculated by dividing a measure by a level-based measure to calculate a percentage
9-6
9-7
ABC Example
ABC wants to implement logical dimensions for Customer, Product, and Time.
9-8
9-9
9 - 10
Name
9 - 11
1. Right-click the level and select New Object > Child Level.
9 - 12
The logical column is associated with the logical level in the logical dimension.
9 - 13
9 - 14
9 - 15
3. Select level.
9 - 16
3. Select level.
2. Build formula.
9 - 17
Show how sales of a specific product compare to the overall sales for all products.
9 - 18
9 - 19
9 - 20
Drill down for details. Dollars and Product Share are recalculated with drill down.
9 - 21
9 - 22
9 - 23
9 - 24
9 - 25
Create a logical dimension object. Set the member key. Set the parent column. Open the Parent-Child Relationship Table Settings dialog box. Enter parent-child relationship table script information. Enter parent-child relationship table details. Preview scripts. Confirm parent-child relationship table settings. Confirm changes to the BMM layer. Confirm changes to the Physical layer. Modify the Physical layer. Modify the BMM layer. Create the presentation hierarchy. Test your work.
Copyright 2012, Oracle and/or its affiliates. All rights reserved.
9 - 27
9 - 28
9 - 29
9 - 30
Name and location of DDL script used to create parent-child relationship table
Name and location of DDL script used to populate parent-child relationship table
9 - 31
Enter a name for the parent-child relationship table. Browse to (or accept the defaults for) the physical location and logical associations.
9 - 32
7. Preview Scripts
In the Preview Script screen, click View Script to view either or both of the scripts.
9 - 33
Parent-child relationship table is now defined for the logical table source.
9 - 34
9 - 35
9 - 36
9 - 37
9 - 38
9 - 39
9 - 40
Calculated Members
Are user-defined dimension members whose measure values are calculated at run time Are defined within a dimension through a formula that references other members of the same dimension Can be defined for a single dimension or across multiple dimensions Presentation hierarchy Calculated member name
Formula
Result
9 - 41
Summary
In this lesson, you should have learned how to: Create logical dimensions with level-based hierarchies Create logical dimensions with parent-child hierarchies Create level-based measures Create share measures Create calculated members
9 - 42