Oracle Business Intelligence Application Architect
☎ +91 9994883085
Don't miss

Saturday, 25 March 2017

Create a Calculated Measure In OBIEE 12C



In the BMM layer, expand Sample Sales > F1 Revenue. 

•Right-click F1 Revenue and select New Object > Logical Column to open the Logical Column dialog box. 

•On the General tab, enter Actual Unit Price in the Name field.

•Click the Column Source tab. 
Create a Calculated Measure In OBIEE 12c
Create a Calculated Measure In OBIEE 12c

•Select Derived from existing columns using an expression.
 
•Click the Edit Expression button to open Expression Builder.

•In the left pane select Logical Tables > F1 Revenue > Revenue. 

•Click the Insert selected item button to move the Revenue column to the right pane. Click the division operator to add it to the expression
Create a Calculated Measure In OBIEE 12c
Create a Calculated Measure In OBIEE 12c



•In the left pane select Logical Tables > F1 Revenue and then double-click Units to add it to the expression. 

•Click OK to close Expression Builder. Notice that the formula is added to the Logical Column dialog box. 

•Click OK again. Drag Actual Unit Price from the BMM layer to the Base Facts presentation table in the Presentation layer. 

•Save the repository and check consistency. Fix any errors or warnings before proceeding.

•Create a new Logical Column called Revenue Rank. 

•Using the Expression Builder, select Functions, Display Functions, then Rank.

• Click <<numExpr>> in the expression. 

•In the left pane select Logical Tables > F1 Revenue and then double-click Revenue to add it to the expression. 

•Close the Expression Builder. Notice that the formula is added to the Logical Column dialog box. 
Create a Calculated Measure In OBIEE 12c

•The Revenue Rank calculated measure is added to the business model.

•Drag Revenue Rank from the BMM layer to the Base Facts presentation table in the Presentation layer. 

•Save the repository and check consistency. Fix any errors or warnings before proceeding. 
Create a Calculated Measure In OBIEE 12c

•Close the repository. Leave the Admin Tool open.