2 Top Tasks for Oracle Essbase

Learn the most common administrative tasks in Essbase. Download sample application workbooks and use them to build cubes, provision users, and connect to Smart View for data analysis. Edit the cube outline by adding members. Run a calculation, export data, and explore cube designer.

Before you start working through these tasks, be sure that you can log in to Essbase and that Smart View and cube designer are installed on client computers. See Set up Cube Designer.

Download the Sample Dynamic Application Workbook and Examine Its Structure

In the Block Storage Sample (Dynamic) application workbook, all non-leaf level members in the cube are dynamically calculated. Dynamically calculated values are not stored in the cube; the values are recalculated and rendered for each user retrieval.

Now you'll download the application workbook from the Files catalog in Essbase, save it to a local drive, and examine its structure.

Download the Sample Dynamic Application Workbook

To download the Block Storage Sample (Dynamic) application workbook:

  1. On the Applications page, click Files, then click Gallery > Applications > Demo Samples > Block Storage.

  2. On the Block Storage page, click the Actions menu next to Sample_Dynamic_Basic.xlsx.

  3. Save the application workbook file, Sample_Dynamic_Basic.xlsx, to a local drive.

Examine the Structure of the Sample Dynamic Application Workbook

Application workbooks contain a number of worksheets that define the metadata for the cube, including an Essbase.Cube worksheet that names all of the dimensions in the cube and defines other information about them, separate worksheets for each dimension, and a data worksheet.

  1. In Microsoft Excel, open Sample_Basic_Dynamic.xlsx.

  2. On the Essbase.Cube worksheet, the application name (Sample_Dynamic), cube name (Basic), the names of 10 dimensions, and other information about the dimensions, are defined.
    Image of the Essabase.Cube worksheet in the Block Storage Sample (Dynamic) application workbook.

  3. Each dimension has a separate worksheet, Dim.dimname, in which the dimension is further defined with information such as the build method and incremental mode. Because the build method for each dimension in this sample application workbook is PARENT-CHILD, members are defined in PARENT and CHILD columns.

    On the Dim.Year worksheet, months roll up to quarters, and quarters roll up to years. For example, child members Jan, Feb, Mar roll up to parent member Qtr1. Child member Qtr1 rolls up to parent member Year.
    Image of the Dim.Year worksheet in the Block Storage Sample (Dynamic) application workbook.

    The Dim.Product and Dim.Market worksheets are similarly structured. In Dim.Product, SKUs roll up to product families, and product families roll up to Product. For example, child members 100-10, 100-20, and 100-30 (SKUs) roll up to parent member 100 (product family). Child member 100 rolls up to parent member Product.
    Image of the Dim.Product worksheet in the Block Storage Sample (Dynamic) application workbook.

  4. This sample application workbook includes data. Scroll to the last worksheet, Data.Basic, to review the structure of the columns and the data.
    Image of the Data.Basic worksheet in the Block Storage Sample (Dynamic) application workbook.

In this topic, you learned how to download an application workbook and examine its structure. Next, learn how to access additional templates using the Gallery section of the File Catalog.

Create an Application in the Essbase Web Interface and Provision a User to Access and Query the Cube

In Download the Sample Dynamic Application Workbook and Examine Its Structure, you learned about the structure of an application workbook by exploring Sample_Basic_Dynamic.xlsx.

Now, you use this workbook to learn how to create an application in the Essbase web interface and provision a user to access and query the cube.

Create an Application in the Essbase Web Interface

  1. In the web interface, on the Applications page, click Import.
  2. On the Import dialog box, click File Browser (as the workbook was downloaded to the local file system). Open the Block Storage Sample (Dynamic) application workbook, Sample_Basic_Dynamic.xlsx, that you saved in Download the Sample Dynamic Application Workbook and Examine Its Structure.
  3. Expand Advanced Options and Build Option, select Create Database, and then check the box to load data. You do not need to select Execute Scripts, because all measures and aggregations along hierarchies in the cube are dynamically calculated at query time.
  4. Click OK. In a few moments, the Sample_Dynamic application and Basic cube are created.
  5. On the Applications page, expand the Sample_Dynamic application, and select the cube, Basic.
  6. In the Actions list for the cube, select Outline. The outline is a representation of the dimensions in the Basic cube as defined in the application workbook. The outline opens in a separate browser tab, allowing you to navigate between the outline and other web interface actions.
  7. View a cube dimension, and then drill down into the children of that dimension:
    1. Expand the Year dimension to view the quarters.
    2. Expand the individual quarters to view months.

Now all of the information from the application workbook is represented in the new cube.

Provision a User to Access and Query the Cube

  1. Log in as a power user. This allows you to provision other users to the applications you have created.
  2. Return to the web interface browser tab and go to Applications.
  3. Select the application for which you want to provision the user; in this example, select Sample_Dynamic. If you select the cube instead of the application, then you won't be able to provision user roles.
  4. Use the Actions menu to open the application inspector.
  5. Select the Permissions tab within the application inspector.
  6. Select Image of the add icon. to see the list of users on the system and select the Image of the add icon. next to each user to assign their access.
  7. Use the radio button controls next to each user to assign their access. Select Database Manager for each added user. The Database Manager has full control of the cube, but no control over the application.
  8. Click Close.

In Analyze an Application in Smart View, you’ll go to Smart View, log in as the user you just provisioned, and then query a cube.

Analyze an Application in Smart View

In Create an Application in the Essbase Web Interface and Provision a User to Access and Query the Cube, you created an application and a cube with data, and provisioned users.

Now you'll learn how to connect to the cube from Smart View, and perform ad hoc analysis by zooming and pivoting data.

This task assumes that you installed Smart View. See Download and Run the Smart View Installer.

Connect to the Cube from Smart View

  1. Open Microsoft Excel.

    If Smart View is installed, you can see the Smart View ribbon.

  2. On the Smart View ribbon, click Panel.
  3. On the Smart View Home dialog box, click the arrow next to the Home button, then select Private Connections.
  4. Make a private connection using the same URL that you used to connect to Essbase, and append /essbase/smartview to the end of that URL. For example, https://192.0.2.1:443/essbase/smartview.
  5. Log in as the user you created.
  6. Expand EssbaseCluster.
    Image of Smart View Private Connections.

  7. Highlight the Basic cube, and click Connect.

Perform an Ad hoc Analysis

You can specify the ancestor position for a hierarchy as top or bottom, in the Member Options tab of the Options dialog in Smart View. SSANCESTORONTOP must first be enabled by an administrator in application configuration in the Essbase web interface. You can see the change in an existing grid when you perform a zoom-in operation. Here, just use the default bottom position.

  1. On the EssbaseCluster tree, under Sample_Dynamic, select the Basic cube, then click Ad hoc analysis.
  2. In the resulting grid, you can see one aggregated data value for all five dimensions of this dynamic cube.
    Image of the Basic cube grid.
  3. Navigate into the member Scenario and narrow it down to a specific scenario type of Actual data.
    1. Click the cell containing Scenario.
    2. On the Essbase ribbon, click Member Selection.
    3. In the Member Selection dialog box, check the box next to the Actual member.
      Image of the Actual member selected.
    4. Click Add Image for Add. to move Actual to the right pane.
    5. If Scenario is already included in the right pane, highlight it and use the left arrow to remove it, and then click OK.

    On the Essbase ribbon, click Refresh. The grid should now look like this:


    Image of the Basic cube grid in which Actual replaces Scenario.

  4. Navigate into Measures and narrow it down to the Sales member, to look at sales data.
    1. Highlight the cell containing Measures.
    2. On the Essbase ribbon, click Zoom In.
    3. Highlight the cell containing Profit, and click Zoom In..
    4. Highlight the cell containing Margin, and click Zoom In.
    5. Highlight the cell containing Sales, and click Keep Only.

    The grid should now look like this:
    Image of the Basic cube grid in which Sales replaces Measures.

  5. Zoom in to Year by double-clicking the cell containing Year.

    The grid should now look like this:
    Image of the Basic cube grid, showing Year dimension members Qtr1, Qtr2, Qtr3, Qtr4.

  6. Zoom in to Product by double-clicking the cell containing Product.

    The grid should now look like this:
    Image of the Basic cube grid showing the Product dimension members, such Colas and Root Beer.

  7. Enhance your data display to show time periods per product. Pivot Qtr1 of Colas by highlighting it, right-clicking and holding, then dragging it from B3 to C3.

    The grid should now look like this:
    Image of pivoted grid.

  8. Look at each product by region. Double-click Market in B1.

    The grid should now look like this:
    Image of Basic cube grid.

  9. Drill in to a region to view product sales by state. Double-click East in A4.

    Because not every product is sold in every state, some cells have the #Missing label instead of a data value.

In this task, you navigated through a data grid easily, zooming in and pivoting by clicking in the grid itself. You can also use the tools on the Essbase ribbon to perform the same actions. For more help on using Smart View, click the Smart View tab, and then click Help.

In Modify an Essbase Outline, you'll go back to the web interface and modify an outline.

Modify an Essbase Outline

In Analyze an Application in Smart View, you analyzed an application in Smart View.

In this example of modifying an Essbase outline, you will create a new forecast member, seed it with data, and execute a calculation script.

Create a New Member

You start by creating a new member.

  1. In the web interface, on the Applications page, select the Basic cube in the Sample_Dynamic application.

  2. Click the Actions menu, and select Outline.

  3. Click Edit.

  4. Expand the Scenario dimension by clicking the arrow next to Scenario.

  5. Insert a member:

    1. Click Edit to put the outline in edit mode.

    2. Expand the Scenario dimension.

    3. Select the Budget member.

    4. On the outline toolbar, under Actions, select Add a sibling below the selected member.

  6. Enter the member name, Forecast, and press Tab.

  7. Select the tilde (~) consolidation operator from the list.

    The Forecast member does not aggregate with the other members in its dimension.

  8. Leave the data storage type as Store Data because we want users to be able to input forecast data.

  9. Click Save.

Seed the Forecast Member with Data

To seed the Forecast member with data, we'll create a calculation script and calculate forecast data.

  1. In the web interface, on the Applications page, select Basic cube in the Sample_Dynamic application, click the Actions menu, and select Inspect.

  2. In the Basic dialog box, select the Scripts tab, with Calculation Scripts selected, click Image of the add icon. to add a calculation script.

  3. In the Script Name field, enter salesfcst.

  4. In the Script Content box, enter a simple formula:

    Forecast(Sales=Sales->Actual*1.03;)

    Forecast for sales is equal to actual sales multiplied by 1.03, which seeds the Forecast member for Sales with a value 3% higher than the actual sales.

  5. Click Save and Close.

  6. Close the database inspector by clicking Close until all tabs are closed.

Execute the Script

Calculation scripts are executed as jobs.

  1. In the Web interface, select the Jobs page.
  2. Click New Job, and select Run Calculation.

  3. On the Run Calculation dialog box, in the Application field, select Sample_Dynamic application.

    Notice that the Database field automatically populates the Basic cube.

  4. On the Scripts menu, select the salesfcst calculation script that you created.

  5. Click OK.

  6. Click Refresh to see that the job completes.

In Analyze Forecast Data in Smart View, you'll analyze this new forecast data in Excel. But first, let’s take a closer look at managing jobs.

Analyze Forecast Data in Smart View

In Analyze an Application in Smart View, you learned to analyze data in Smart View. In Modify an Essbase Outline, you added a Forecast member to the outline, and seeded it with data.

In this example of analyzing forecast data in Smart View, you'll reconnect to the cube, do analysis of the data, create a grid in Excel, and do an ad hoc analysis. Then you'll test that the calculation is correct, revise the grid, and submit monthly forecast values.

Now you'll reconnect to the cube in Smart View, and do further analysis of the data.

  1. Open Excel and create a worksheet like the following one, by typing the member names in these cells: A3=Market, B3=Product, C1=Year, C2=Actual, D1=Sales, D2=Forecast.
    Image of starting worksheet: A3=Market, B3=Product, C1=Year, C2=Actual, D1=Sales, D2=Forecast
  2. On the Smart View ribbon, reconnect to Basic cube in the Sample_Dynamic application.
    Image of a URL in Smart View Private Connections.

    Your previous connection URL should be shown in the list of Private Connections.

  3. When prompted to log in, connect as the user you provisioned.
  4. To populate cells with data values, click Ad hoc analysis.

    In the resulting grid, you should be able to see the results of your calculation. The yearly sales data refreshes for both Actual and Forecast, and the forecast is about 3% higher than the actual:
    Image of the grid: Actual=400511, Forecast=412526.3

  5. To test that the calculation is correct, create this Excel formula, =D3/C3, in cell E3, which divides the forecast data by the actual data, to ensure that D3 is 3% higher than C3.
    Image of the grid: Actual=400511, Forecast=412526.3, E3 with formula =D3/C3

    The test result should confirm the 3% increase, in which Actual is 400511, Forecast is 412526.3, and E3 is 1.0.


    Image of the grid: Actual=400511, Forecast=412526.3, E3 1.03
  6. Zoom in on Product and Market. You can see that for all products and all markets, the forecast data is present and is 3% higher than the actual.
    Image of the grid with forecast data.
  7. Now, build a worksheet that you will use to do a data analysis on the forecast, and make some changes.
    1. Click the cell containing Forecast, then click Keep Only.
    2. Select cells A3-B3 containing East and Colas, then click Keep Only.

      The grid should now look like this:


      Image of the grid with forecast data.
    3. With cells A3-B3 still selected, click Zoom In to view per-state information for detailed product SKUs.

      The grid should now look like this:


      Image of the grid with forecast data.
    4. Pivot the Year dimension down into the columns. Highlight member Year, and select the arrow next to zoom in on the Essbase ribbon. Select Zoom to bottom to see the bottom level of the months.

      The grid should now look like this:


      Image of the grid with forecast data.
    5. Enter some monthly values to create a Diet Cola forecast. For example, enter 500 in each of the cells in the range C5:H5.
      Image of the grid with forecast data.
    6. Click Submit Data, and notice that the full year forecast in cell O5 changes to 3000, which is the sum of 500 in each of 6 months.

In this task, you learned how easy it is to analyze and edit the cube in Smart View, as long as you have the correct provisioning.

In Create an Application and Cube in Cube Designer, you’ll get familiar with Cube Designer.

Create an Application and Cube in Cube Designer

In Analyze Forecast Data in Smart View, you analyzed data in Excel. Users working in Excel can design and deploy applications using cube designer.

Open an application workbook in cube designer. Deploy, load, and calculate a cube. View the cube in the Essbase web interface.

Open the Application Workbook in Cube Designer

Log in as a Power User and download the Sample_Basic.xlsx application workbook from the Gallery.

  1. In Excel, on the Cube Designer ribbon, click Catalog Image of the catalog icon on the cube designer ribbon..

    If you are prompted to log in, then log in as a Power User.

  2. Click Gallery, then navigate to Applications > Demo Samples > Block Storage, and double-click Sample_Basic.xlsx.

The Sample Basic application workbook is different from the Sample Basic Dynamic application workbook in that the Product and Market dimensions do not have dynamically calculated members.

For example, go to the Dim.Market worksheet in Sample_Basic.xlsx. Look at the Storage column. There are no X characters, which indicates that the members are stored. X characters in the Storage column indicate dynamically calculated members.

Therefore, after creating the dimensions and loading the data, you also need to calculate the cube.

Creating, loading, and calculating the cube can all be done in one step in the Build Cube dialog box.

Create, Load, and Calculate the Cube

Use Cube Designer to create, load, and calculate a cube from the Sample_Basic.xlsx application workbook.

  1. On the Cube Designer ribbon, with the Sample Basic application workbook (Sample_Basic.xlsx) still open, click Build Cube Image of the build cube icon on the cube designer ribbon..

  2. On the Build Option menu, select Create Cube.

  3. Click Run.

    If there is an existing application with the same name, you are prompted to overwrite the application and cube. Click Yes to delete the original application and build this new application.

  4. Click Yes to confirm your selection.

    The View Jobs icon displays an hourglass while the job is in progress. The job runs in the background, and Cube Designer notifies you when the job is completed, which should display Success.

  5. Click Yes to launch the Job Viewer and see the status of the job.

View the Application in the Web Interface

View and inspect the new application in the Essbase web interface, check that both level zero and upper-level blocks exist to confirm that the cube is fully calculated.

  1. Log into the web interface.

  2. On the Applications page, expand the Sample application and select the Basic cube.

  3. Click the Actions menu to the right of the Basic cube and select Outline.

    View the outline, and see that the expected dimensions are present.

  4. Return to the Applications page, expand the Sample application, and select the Basic cube.

  5. Click the Actions menu to the right of the Basic cube and select Inspect.

  6. In the inspector, select Statistics.

  7. On the General tab, in the Storage column, you see that both level 0 and upper-level blocks exist, showing that the cube is fully calculated.

In Analyze Data and Perform an Incremental Update in Cube Designer, you'll analyze data in this cube and perform incremental updates from Excel.

Analyze Data and Perform an Incremental Update in Cube Designer

In Create an Application and Cube in Cube Designer, you executed a cube build, loaded data, and ran the calculation script defined in the workbook.

Analyze data from a query worksheet in cube designer. Add members to the cube.

Analyze Data in the Sample Basic Cube

Validate that the cube build was successful and see how to analyze data.

  1. In Excel, on the cube designer ribbon, click Analyze Image of the analyze data icon on the cube designer ribbon..

  2. On the Analyze menu, select Connect Query Sheets.

    If you are prompted to log in, then enter your Essbase user name and password.

  3. You’re connected to the Basic cube in the Sample application.

  4. You can now analyze the data.

    1. Use the Essbase ribbon to zoom in on Cream Soda to see all of the low-level products that are part of the Cream Soda family.

    2. Zoom out on New York to see all of the East region, and zoom out again to see all Markets.

Perform an Incremental Update on the Sample Basic Cube

Add a hierarchy to the product dimension and see the results in Smart View.

  1. Go to the Dim.Product worksheet, where you’ll update the product dimension with some extra products.

  2. Insert new members into the workbook, following the 400 product family.

    1. Create a new parent Product with child 500 and give it the Alias Default name Cane Soda.

    2. Create three new SKUs with parent 500: 500-10, 500-20, and 500-30.

    3. Give aliases to the new SKUs. Call them Cane Cola, Cane Diet Cola, and Cane Root Beer.


      Image of a Smart View grid with a product group, Cane Soda (500) added.

  3. Save the updated workbook.

  4. Using the cube designer ribbon, click Build Cube Image of the build cube icon on the cube designer ribbon..

    The build option will default to Update Cube – Retain All Data since the application already exists on the server and you are the application owner who created it.

  5. Click Run.

  6. When the job completion notice is displayed, click Yes to launch the Job Viewer.

  7. You should see Success. If the job returns Error, then you can double-click the job for more information.

  8. Close the Job Viewer.

  9. With the Dim.Product sheet active, click Hierarchy Viewer in the cube designer ribbon.
  10. On the Dimension Hierarchy dialog box, see that the Cane Soda product group was created. Image of the cube designer hierarchy viewer showing the cane soda hierarchy.
  11. Go to the query worksheet, Query.Sample.

  12. Navigate to the top of the Product dimension by highlighting Dark Cream and zooming out using the Essbase ribbon. Then zoom out on Cream Soda.

  13. Select Product again and click Zoom In.

  14. Select Cane Soda and click Keep Only.

  15. Select Cane Soda and Zoom In to see the child members.

Adding members to the Product dimension does not populate those members with data. Data can be submitted using Smart View or by performing a data load.

Application workbooks are convenient tools for designing Essbase cubes when you already understand the elements needed to build a cube or when you have a sample.

In Transform Tabular Data into a Cube, you will create an application using a columnar Excel worksheet without any Essbase-specific structure.

Transform Tabular Data into a Cube

Data from external source systems such as ERP tables or data warehouse are not formatted as an application workbook. You can still use cube designer to build a cube from it.

  1. In Excel, select the cube designer ribbon, then click Catalog Image of the catalog icon on the cube designer ribbon..
  2. On the Essbase Files dialog box, in the Gallery, navigate to the Technical > Table Format folder, and double click Sample_Table.xlsx.

    The Sample_Table.xlsx file contains a worksheet, Sales, which represents a common, simple sales report that you might receive from someone in your organization. The column headings indicate that there are measures (such as Units and Discounts), time representations (such as Time.Month and Time.Quarter), geographic regions (such as Regions.Region and Regions.Areas), and products (such as Product.Brand and Product.LOB).

    From this report, you can create an application and cube by using introspection, which is a method of inspecting a physical data source (in this case, the Sample_Table.xlsx file) for Essbase metadata elements.

  3. On the cube designer ribbon, click Transform Data.
  4. On the Transform Data dialog box, you can accept the default names for the application (Sample_Table) and cube (Sales) or you can change them.
  5. Cube designer inspects the tabular data to detect relationships that determine appropriate dimensionality.
  6. Click Run and, when prompted to create the cube, click Yes.
  7. When the job is completed, you’ll see the Job Viewer dialog box.
    Click Yes until the status is Success.
  8. Close the Job Viewer.
  9. Log into the web interface.
  10. On the Applications page, expand the Sample_Table application and select the Sales cube.
  11. Click the Actions menu to the right of the Sales cube and select Inspect.
  12. Select Statistics, and on the General tab, under Storage, the number 4928 for Existing level 0 blocks indicates that data has been loaded into the cube.
  13. Use the General tab at the top of the database inspector to launch the outline.
    In the outline editor, you can see that the Sales cube has the following dimensions: Measures, Time, Years, Geo, Channel and Product.
  14. Click Measures to zoom in on the members in that dimension.
    You’ll notice that Units, Discounts, Fixed Costs, Variable Costs, and Revenue are in a flat hierarchy.

In Export and Modify Metadata and Data, you’ll create a hierarchy for these Measures so that you can see Revenue net of Discounts, and total costs (fixed and variable).

Export and Modify Metadata and Data

In Transform Tabular Data into a Cube, you created an application and cube from tabular data.

Export a cube, including its data to Excel from the Essbase web interface, and then open the exported application workbook to examine the format.
  1. In the Essbase web interface, on the Applications page, expand the Sample_Table application, and select the Sales cube.
  2. From the Actions menu, select Export to Excel.
  3. On the Export To Excel dialog box, select the Parent-Child Export Build Method.
  4. Select Export Data and click OK.
    • If the data size is less than 400 MB, this exports the metadata and data to an Excel file called an application workbook. Save the application workbook, Sales.xlsx, to your Downloads area. The application workbook defines the cube that you exported.
    • If the data size exceeds 400 MB, the data file is saved in a compressed file and is not included in the exported Excel file. The ZIP file containing the data and the application workbook can be downloaded from Files page.
  5. Open Sales.xlsx.
  6. Scroll to the Data.Sales worksheet to view it. This is the data worksheet for the cube.
    Examine the worksheets for each of the dimensions. The dimension worksheets begin with Dim, including the worksheet for the Measures dimension.
  7. Using the exported application workbook, you can make further incremental updates. For example, you can add or remove hierarchies, append a formula to a measure, change aliases, and develop calculations, among many other tasks.
The sequenced tasks in this chapter are intended to show you how you can design and deploy cubes from application workbooks or tabular data. You can incrementally improve the design of your cubes by exporting them to application workbooks, making modifications, and rebuilding.