This tutorial shows you how to convert BSO database outlines to ASO in Essbase 11.1.2.
Approximately 30 minutes
From time to time, you may wish to use an Essbase block storage (BSO) database as a starting point for an aggregate storage (ASO) database, say, as a test of expanded dimensionality. Essbase provides a wizard to help you convert the BSO outline to ASO.
The Hyptek corporation, a manufacturer of hard disk drives, has developed an expanded outline for BSO cube Hyptek, used for sales analysis. Hyptek management would like you to convert the Hyptek database outline to ASO.
The following is a list of software requirements:
None
First, review the structure of the 16-dimension Hyptek outline.
. |
In the navigation panel of Administration Services Console, right-click the Hyptek
|
|---|---|
. |
The outline is displayed in Outline Viewer.
|
. |
Click Close to close Outline Viewer. |
Essbase provides a wizard to help you convert BSO database outlines to ASO.
. |
Select File, then Wizards, and then Aggregate Storage Outline Conversion.
|
|---|---|
. |
Select the Essbase Server tab, then navigate to the Hyptek database and double-click Hyptek.otl.
|
. |
Click Next.
|
. |
Select Interactive outline correction, and then click Next.
|
. |
Click Verify.
|
In interactive correction mode, the outline verification errors and warnings are dynamic and can be used for correcting errors in the converted outline.
. |
Double-click the error for FY08.
|
|---|---|
. |
Right-click Fiscal Year, and select Edit member properties.
|
. |
In the Hierarchy drop-down list, select Dynamic.
|
. |
Click OK.
|
. |
Click Verify.
|
. |
Double-click the error for Act vs Bud.
|
. |
Click OK.
|
. |
Click Verify.
|
To fix the next several verification errors, change the Product dimension from a Stored to a Multiple Hierarchies Enabled dimension.
. |
Double-click the error for FIREBRAND 270 A.
|
|---|---|
. |
Right-click Product, and select Edit member properties.
|
. |
In the Hierarchy drop-down list, select Hierarchies Enabled.
|
. |
Click OK.
|
. |
Click Verify.
|
The Promotions dimension includes aggregation and variance hierarchies. Change it to Multiple Hierarchies Enabled.
. |
Double-click the error for No vs Clearance.
|
|---|---|
. |
Edit member properties for the Promotions dimension, and change the Hierarchy type to Hierarchies Enabled.
|
. |
Click OK.
|
. |
To add an aggregation member, right-click Promotions and select Add child.
|
. |
In the text box, enter Total Promotions, then press Enter.
|
. |
Press Enter again to exit the edit mode.
|
. |
Press Shift+Click to select the following members:
|
. |
Right-click the group and select Cut.
|
. |
Select Total Promotions, then right-click and select Edit, and then Paste child.
|
. |
An outline confirmation message is displayed. Click Yes.
|
. |
In the member properties for Promotional Variances, change the hierarchy type to Dynamic, and then click OK.
|
. |
Click Verify.
|
. |
Click OK, then click Done.
|
An ASO application and database can be created directly from the outline conversion wizard.
. |
Click Create Aggregate Storage Application.
|
|---|---|
. |
For Application and Database, enter HyptekAS.
|
. |
Click OK.
|
. |
Click Finish.
|
Member formulas in ASO applications use MDX syntax, which is different from the calculation script syntax used in BSO applications. You convert member formulas in Outline Editor.
. |
A side-by-side comparison of the Hyptek BSO and ASO outlines provides examples of the differences in syntax for formulas in the Average Rates members.
|
|---|---|
. |
Open the HyptekAS outline in Outline Editor.
|
. |
Click Verify.
|
. |
Double-click the error for List Price.
|
. |
Right-click List Price and select Edit Member Properties.
|
. |
Select the Formula tab. The formula for List Price is displayed. |
. |
Replace the calculation script formula "Gross Sales" / Units; with the MDX equivalent [Gross Margin] / [Net Sales].
|
. |
Click OK.
The corrected formula for List Price is displayed in Outline Editor. |
. |
Repeat steps 4 through 8 to correct the formulas for the following Average Rates members:
The corrected formulas are displayed in Outline Editor. |
. |
Click Verify.
|
. |
Double-click Gross Margin %, then edit member properties to replace the formula "Gross Margin" / "Net Sales"; with [Gross Margin] / [Net Sales].
|
. |
Click Verify.
|
Convert the member formulas for mix calculations to MDX syntax.
. |
Double-click Sales $ Mix by Product, then edit member properties to replace the formula "Net Sales" / @ANCESTVAL(Product,3,"Net Sales"); with [Net Sales] / ( [Net Sales], Ancestor ([Product].CurrentMember, [Product].Generations(3) ) ).
|
|---|---|
. |
Double-click Unit Mix by Product, then edit member properties to replace the formula Units / @ANCESTVAL(Product,3,Units); with [Units] / ( [Units], Ancestor ([Product].CurrentMember, [Product].Generations(3) ) ).
|
. |
Click Verify.
|
Member formula conversions for variance calculations can be accomplished with the help of User Defined Attributes (UDAs) that flag expense items.
. |
Right-click Discounts (located in the Measures dimension), and select Edit Member |
|---|---|
. |
Select the UDAs tab.
|
. |
In the assign text box, enter Expense.
|
. |
Click Assign.
|
. |
Repeat steps 1 through 4 to assign the Expense UDA to the following measures:
|
. |
Click OK.
|
. |
Save the outline. |
A combination of UDAs and conditional logic in ASO outlines provides the equivalent of the Expense Reporting functionality available in BSO outlines.
. |
Right-click Act vs Bud (located in the Scenario dimension), and select Edit Member |
|---|---|
. |
Select the Formula tab.
|
. |
Replace the calculation script formula @VAR ("Actuals","Budget"); with the following MDX formula: IIF ( IsUDA ([Measures].CurrentMember, "Expense"), |
. |
To ensure correct solve order, select Scenario, then open the Member Properties dialog box, and, for Dimension solve order, enter 20.
|
. |
Click OK.
|
. |
Click Verify.
|
Convert the member formulas for promotional variances to MDX syntax.
. |
Double-click No vs Clearance.
|
|---|---|
. |
Right-click No vs Clearance and select Edit Member Properties.
|
. |
Select the Formula tab.
|
. |
Replace the calculation script formula "No Promotion"-"Product Line Clearance"; with the MDX formula [No Promotion] - [Product Line Clearance].
|
. |
Click OK.
|
. |
Click Verify.
|
. |
Repeat steps 1 through 6 to correct the member formulas for No vs Intro and Clearance vs Intro. |
. |
Click OK.
|
. |
Click Verify.
|
In this tutorial, you learned how to convert a BSO database outline to aggregate storage, correcting for structural differences in the outlines and rewriting member formulas in MDX syntax.
![]()
|
|
About
Oracle | Oracle and Sun | |