Articles
Data Warehousing
By Christian Screen
Dive into a step-by-step tutorial that reflects real-world data warehousing complexities.
Published March 2010
As Oracle's acquisition of Hyperion solidified in 2007, integrating Essbase tools into Oracle BI has become part of Oracle's roadmap. Essbase Studio is the part of that roadmap which provides users with a graphical interface to develop, deploy, and maintain Essbase OLAP cubes based on one or more data sources.
Before Oracle Essbase Studio 11 was released, in order to accomplish this, a combination of Essbase Integration Services (EIS) and Essbase Administration Services (EAS) was required. Now, only Essbase Studio is needed to build a multidimensional model from data sources that range from relational database tables, views, and flat files to OBIEE and EPMA dimensions. In addition, Essbase Studio makes use of several wizard-driven interfaces, seeking to make operations easy for end users to increase tool adoption.
Anyone associated with the Business Intelligence and EPM realm should pay close attention to the emergence of Essbase Studio as the integration of Essbase cubes into Oracle BI tools such as OBIEE has already begun. Leveraging the power of this tool's "one stop shop" for multidimensional development adds value to analysis efforts from both a developer and analyst perspective. With the ability to present data quickly via the Essbase OLAP engine as well as to build detailed drill-through reporting, Essbase Studio is here to stay.
However, the default Essbase Studio examples that are included with the Essbase Studio application are limited and don't support true real world scenarios. In addition, the examples are pre-built and no direction is available on how to build an Essbase Studio model, step-by-step.
This tutorial leverages a completed data warehouse based on an e-commerce store, Adventure Works, that sells bicycles and bicycle accessories. For those of you familiar with data warehousing this data is easily recognizable as the data warehouse created and used for years in other analytical reporting and modeling applications. We have leveraged this data as it is complete, well-defined, familiar to most, and it contains real-world data warehousing complexities. As part of the tutorial you will be required to download the Oracle DDL and DAL scripts that create a user/scheme and load the sample data warehouse data on to your Oracle RDBMS instance.
For the best comprehension of the tool, this tutorial should be completed in one sitting. During the tutorial it is recommended to complete the steps outlined first, then review each section to gain further understanding of any area for which you may have more curiosity.
In this section we will install and implement an Oracle data warehouse (and RDBMS if not already installed on your machine or accessible). Oracle SQL*Plus scripts will be executed to create a new user scheme called AdvWorks and populate database table objects with data. These scripts will prepare the data source for use in Essbase Studio.
If you currently have an Oracle RDBMS instance ready for use then you may use it. Otherwise, you may download the Oracle Database 10g Express Edition from here.
Installing the database is beyond this tutorial but plenty of documentation is found on Oracle’s website.
For this tutorial you should have an accessible instance of an Oracle RDBMS available. The tutorial scripts also assume that you have the ability to login with the sysdba role privilege. Finally, because the Essbase Studio console will be accessed, you will need a Shared Services user account that is provisioned to access Essbase Studio with a minimum of cpAdmin. These high-level permissions are not examples of a production environment; they merely allow the tutorial to proceed smoothly without worrying for lack of accessibility issues.
Download the tutorial files necessary for this tutorial from here (URL TBD). Be sure to read the _Read_Me.txt file when this download is unzipped.Quick Install Instructions |
|
At this point you have installed all necessary schemes and scheme table objects required for the Oracle RDBMS to serve as the relational database for the tutorial. |
If you wish, you may familiarize yourself with the data warehouse objects now available in the AdvWorks scheme. If you haven’t installed Oracle SQL Developer, now is a good time to do so. Of course, you can always use SQL*Plus to list the objects, etc. |
Before launching Essbase Studio please ensure that all software dependencies listed in the introduction section of this document have been met and all services started.
The easiest way to launch EStudio is from a shortcut (if available). However, you may use the program structure by Start > All Programs > Oracle EPM System > Essbase > Essbase Studio > Essbase Studio Console.
Once EStudio has been launched all designer elements are visible through the application navigation layout. For this section we will focus on creating a data source. We will expose the other application elements in future sections.
|
![]() |
|
![]() |
|
|
|
![]() |
|
|
|
|
![]() |
|
We successfully opened Essbase Studio and created a Data Source. In addition we created a minischema based on the data source. What this section showed you was how wizard driven Essbase Studio is. It also showed you from the connection wizard that you as a modeler have control over how the modeling elements are built. We set out to create a data source, and in the second step of the Connection Wizard, after selecting tables, we could have simply clicked the Finish button to complete the data source set up. Instead we went on to the “select a minischema” step which could have been skipped entirely or started from another wizard in EStudio at a later time. We now have a data source and a minischema to work with. Let’s continue.
The MiniSchema may be best described as an Entity-Relationship-Diagram (ERD) that federates and plays nicely with other data sources. You may model a minischema using multiple fact tables and/or multiple data sources (which should relate in some way) in order to create the relationships that will eventually become an Essbase model/outline. You can also have multiple minischemas depending on what your final Essbase models’ business needs are. In this section we’ll only inspect the minischema and use the auto layout option just to get our feet wet. If this were classroom training we would dive deeper into minischemas with more detail.
The first thing to notice in our EStudio environment after finishing the connection wizard is the minischema layout that appears. One should note that in a well prepared datawarehouse such as the one provided by AdvWorks scheme that EStudio automatically recognizes the explicit foreign key / primary key relationships and creates our joins (i.e. 1.n, 1.1, etc.) for us.
![]() |
In our example and for the sake of this tutorial our modeling is done. But to get an understanding of how we would use a flat file source, etc. that doesn’t have FK/PK relationships, right-click anywhere in the minischema to see the options available to you. |
![]() |
While you have the options window open, select the Lay out schema option. As you can see, clicking this option conducts auto formatting for the layout of your minischema diagram. This is a handy option to ensure the best visibility of your objects when modeling. |
In EStudio locate the Metadata Navigator pane on the left-side of the EStudio application to begin.
|
![]() ![]() |
|
|
When complete it should look like the image below. |
![]() |
|
After creating the Metadata Navigator structure in the last section we now need to fill it with meaningful content to continue modeling our project. In this section we will add Dimension Elements to our Metadata. Dimension Elements are best defined as being analogous to what we recognize as members in the OLAP world. There are two ways to add Dimension Elements to our metadata. The first is to drag a column from a data source. The second, is to right-click on a Metadata Navigator folder and select New > Data Element. We will be using both.
Since Dimension Elements are similar to OLAP members we only need to select a few from our data source columns. We do not need every column from every table that we have brought over in our data source. To get started, set up your environment so that both the MetaData Navigator (left-side) and the Data Sources pane (right-side) can be seen simultaneously and follow below:
|
![]() |
|
|
![]() |
As you have probably noticed, we have yet only to move data source columns which describe the data into the dimensional elements folder. What about Time and the Data? These elements must also be placed as Dimension Elements and we start below with Time Dimension Elements. Please note that setting up time or an account structure here does not define any relation to the final Essbase outline Account or Time dimension labeling.
Below we will continue with the dragging of data source columns to the Data Elements folder exercise as above.
|
![]() |
|
![]() |
|
|
![]() ![]() |
|
![]() |
|
![]() |
|
Right-click on the Dimension Elements folder and select New > Dimension Element |
![]() |
|
|
![]() |
|
![]() |
|
![]() |
|
|
This above approach to looking at creating time related Dimension Elements was so that you could understand that functions are available to modify the captions and logic for each element. However, there is a better and cleaner way to create Time dimension elements. Here are the quick steps for EStudio mastery:
|
|
|
![]() |
|
![]() |
|
We are just about finished with setting up the dimension elements.
Drag the following elements from our data source AdventureWorksDW > FactInternetSales over to the Dimension Elements table.
![]() |
Your final Dimension Elements folder should appear similar to the above image.
Follow the steps below.
|
![]() |
|
|
|
![]() ![]() |
Here you see a representation of the hierarchy as it will appear in your Essbase cube. |
![]() |
|
![]() ![]() ![]() ![]() ![]() |
|
|
![]() |
| |
![]() | |
| |
![]() | |
| |
| |
![]() | |
| |
| |
![]() | |
| |
![]() | |
| |
![]() | |
Click Apply. | |
|
At this point your cube schema has been developed. That was quick and painless. You may have noticed when creating the model that under the Model Name field that the Accounts Dimension dropdown list was grayed out and not selectable. This is because we did not define a detectable accounts dimension. Since our cube will basically be a sales analytics cube and not a financial cube our accounts dimension will house our metrics (a measures dimension) that we defined on the first create Cube Schema step. EStudio is so smart that it can automatically identify this distinction and it will assign and label our measures into an accounts labeled dimension for us.
Once we completed the Cube Schema wizard the schema diagram window was available to us for identifying and labeling elements of the entire schema or independently configuring each dimension with elements relating to the final cube. We did just that and now we are ready to deploy this model to Essbase services.

Use the Cube Deployment Wizard (Finally)
All sections have led up to this point of deploying the cube to Essbase Services. We’ll use the Cube Deployment Wizard to conduct this operation. Be sure that your Essbase Server services are running so that there are not problems for the deployment destination.
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
|
![]() |
Christian Screen is a Business Intelligence evangelist living in Charlotte, NC. He is a Principal Consultant at BI Consulting Group, an Oracle Business Intelligence/EPM partner recently awarded the honor of Oracle's BI Implementation Partner of the Year. In his spare time, Christian can be found spending time with his family or blogging on BI topics at http://www.artofbi.com.