creating a repository using obi administration tool
TRANSCRIPT
-
8/9/2019 Creating a Repository Using OBI Administration Tool
1/354
Creating a Repository Using the Oracle Business Intelligence
Administration Tool
This tutorial contains the following sections:
Purpose
Time to Complete
Overview
Prerequisites
Building the Physical Layer of a Repository
Building the Business Model and Mapping Layer of a
Repository
Building the Presentation Layer of a Repository
Testing and Validating a Repository
Managing Logical Table SourcesCreating Calculation Measures
Creating Logical Dimensions with Level-Based
Hierarchies
Creating Level-Based Measures
Creating Logical Dimensions with Parent-Child
Hierarchies
Creating Logical Dimensions with Ragged and
Skipped-Level Hierarchies
Using Aggregates
Using Initialization Blocks and Variables
Creating Time Series Measures
Summary
Resources
Purpose
This tutorial covers using the Oracle Business Intelligence (BI) Administration Tool to build, modify, enhance, and
manage an Oracle BI repository. This tutorial is built using OBI EE 11.1.1.3. There will be some differences if you are
testing with 11.1.1.5, such as in Create Keys and Joins, Check Consistency, and Set Up Query Logging. There is a new
tutorial based on OBI EE 11.1.1.5, please check here.
Time to Complete
Approximately 6 hours.
Overview
This tutorial shows you how to build an Oracle BI metadata repository using the Oracle BI Administration Tool. You learn
how to import metadata from databases and other data sources, simplify and reorganize the imported metadata into a
business model, and then structure the business model for presentation to users who request business intelligence
information via Oracle BI user interfaces.
Prerequisites
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
2/354
Before starting this tutorial, you should:
1. Have access to or have Installed Oracle Business Intelligence Enterprise Edition 11g.
2. Have access to or have installed the Sample Application schema (BISAMPLE) that ships with Oracle Business
Intelligence 11g. You can access the BISAMPLE schema and installation instructions here.
If you are interested in downloading and installing the latest version of the entire Sample Application, you can access
it hereon the Oracle Technical Network (OTN). Please note, however, that only the BISAMPLE schema is required to
complete this tutorial.
Building the Physical Layer of a Repository
In this topic you use the Oracle BI Administration Tool to build the Physical layer of a repository.
The Physical layer defines the data sources to which Oracle BI Server submits queries and the relationships between
physical databases and other data sources that are used to process multiple data source queries. The recommended
way to populate the Physical layer is by importing metadata from databases and other data sources. The data sources
can be of the same or different varieties. You can import schemas or portions of schemas from existing data sources.
Additionally, you can create objects in the Physical layer manually.
When you import metadata, many of the properties of the data sources are configured automatically based on the
information gathered during the import process. After import, you can also define other attributes of the physical data
sources, such as join relationships, that might not exist in the data source metadata. There can be one or more data
sources in the Physical layer, including databases, flat files, XML documents, and so forth. In this example, you import
and configure tables from the BISAMPLE schema included with the Oracle BI 11g Sample Application.
To build the Physical layer of a repository, you perform the following steps:
Create a New Repository
Import Metadata
Verify Connection
Create Aliases
Create Physical Keys and Joins
Create a New Repository
Import Metadata
Verify Connection
Create Aliases
Create Keys and Joins
Create a New Repository
1. Select Start > Programs > Oracle Business Intelligence > BI Administrationto open the Administration Tool.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
2 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
3/354
2. Select File > New Repository.
3. Enter a name for the repository. In this tutorial the repository name is BISAMPLE.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
3 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
4/354
4. Leave the default location as is. It points to the default repository directory.
5. Leave Import Metadata set to Yes.
6. Enter and retype a password for the repository. In this tutorial BISAMPLEis the repository password.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
4 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
5/354
7 . Click Next.
Import Metadata
1 . Change the Connection Type to OCI 10g/11g. The screen displays connection fields based on the connection type
you selected.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
5 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
6/354
2 . Enter a data source name. In this example the data source name is orcl. This name is the same as the
tnsnames.ora entry for this Oracle database instance.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
6 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
7/354
3 . Enter a user name and password for the data source. In this example the username and password are both
BISAMPLE. Recall that BISAMPLE is the name of the user/schema you created in the prerequisite section.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
7 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
8/354
4 . Click Next.
5 . Accept the default metadata types and click Next.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
8 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
9/354
6 . In the Data source view, expand the BISAMPLEschema.
7 . Use Ctrl+Clickto select the following tables:
SAMP_ADDRESSES_D
SAMP_CUSTOMERS_D
SAMP_PRODUCTS_D
SAMP_REVENUE_F
SAMP_TIME_DAY_D
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
9 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
10/354
8 . Click the Import Selected buttonto add the tables to the Repository View.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
0 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
11/354
9 . The Connection Pool dialog box appears. Accept the defaults and click OK.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
1 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
12/354
10 . The Importing message appears.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
2 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
13/354
11 . When import is complete, expand BISAMPLEin the Repository View and verify that the five tables are visible.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
3 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
14/354
12 . Click Finishto open the repository.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
4 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
15/354
13 . Expand orcl > BISAMPLEand confirm that the five tables are imported into the Physical layer of the repository.
Verify Connection
1 . Select Tools > Update All Row Counts.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
5 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
16/354
2 . When update row counts completes, move the cursor over the tables and observe that row count information is now
visible, including when the row count was last updated.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
6 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
17/354
3 . Expand tables and observe that row count information is also visible for individual columns.
4 . Right-click a table and selectView Datato view the data for the table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
7 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
18/354
5 . Close the View Data dialog box when you are done. It is a good idea to update row counts or view data after an
import to verify connectivity. Viewing data or updating row count, if successful, tells you that your connection isconfigured correctly.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
8 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
19/354
Create Aliases
1 . It is recommended that you use table aliases frequently in the Physical layer to eliminate extraneous joins and to
include best practice naming conventions for physical table names. Right-click SAMP_TIME_DAY_Dand select New
Object > Aliasto open the Physical Table dialog box.
2 . EnterD1 Timein the Name field.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
9 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
20/354
3 . In the Description field, enter Time Dimension Alias at day grain. Stores one record for each day.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
20 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
21/354
4 . Click the Columnstab. Note that alias tables inherit all column definitions from the source table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
21 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
22/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
23/354
Create Keys and Joins
1 . Select the five alias tables in the Physical layer.
2 . Right-click one of the highlighted alias tables and select Physical Diagram > Selected Object(s) Onlyto open the
Physical Diagram. Alternatively, you can click the Physical Diagram button on the toolbar.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
23 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
24/354
3 . Rearrange the alias table objects so they are all visible. If desired, right-click in the white space of the diagram andselect Zoom to change the size of the objects in the Physical Diagram.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
24 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
25/354
Building the Business Model and Mapping Layer of a Repository
In this topic you use the Oracle BI Administration Tool to build the Business Model and Mapping layer of a repository.
The Business Model and Mapping layer of the Administration Tool defines the business, or logical, model of the data
and specifies the mappings between the business model and the Physical layer schemas. This layer is where the
physical schemas are simplified to form the basis for the users view of the data. The Business Model and Mapping
layer of the Administration Tool can contain one or more business model objects. A business model object contains the
business model definitions and the mappings from logical to physical tables for the business model.
The main purpose of the business model is to capture how users think about their business using their own vocabulary.
The business model simplifies the physical schema and maps the users business vocabulary to physical sources. Most
of the vocabulary translates into logical columns in the business model. Collections of logical columns form logical
tables. Each logical column (and hence each logical table) can have one or more physical objects as sources.
There are two main categories of logical tables: fact and dimension. Logical fact tables contain the measures by which
an organization gauges its business operations and performance. Logical dimension tables contain the data used to
qualify the facts.
To build the Business Model and Mapping layer of a repository, you perform the following steps:
Create a Business Model
Examine Logical JoinsExamine Logical Columns
Examine Logical Table Sources
Rename Logical Objects Manually
Rename Logical Objects Using the Rename Wizard
Delete Unnecessary Logical Objects
Create Simple Measures
Create a Business Model
Examine Logical Joins
Examine Logical Columns
Examine Logical Table Sources
Rename Logical Objects Manually
Rename Objects Using the Rename Wizard
Delete Unnecessary Logical Objects
Create Simple Measures
Create a Business Model
1. Right-click the white space in the Business Model and Mapping layer and select New Business Modelto open the
Business Model dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
25 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
26/354
2. Enter Sample Salesin the Name field. Leave Disabledchecked.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
26 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
27/354
3. Click OK. The Sample Sales business model is added to the Business Model and Mapping layer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
27 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
28/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
29/354
Examine Logical Joins
1. Right-click the Sample Salesbusiness model and select Business Model Diagram > Whole Diagramto open the
Business Model Diagram.
2 . If necessary, rearrange the objects so that the join relationships are visible.
Because you dragged all tables simultaneously from the Physical layer onto the business model, the logical keys and
joins are created automatically in the business model. This is because the keys and join relationships were already
created in the Physical layer. However, you typically do not drag all physical tables simultaneously, except in very
simple models. Later in this tutorial, you learn how to manually build logical keys and joins in the Business Model andMapping layer. The process is very similar to building joins in the Physical layer.
3. Double-click any one of the joins in the diagram to open the Logical Join dialog box. In this example the join between
D1 Time and F1 Revenue is selected.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
29 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
30/354
Notice that there is no join expression. Joins in the BMM layer are logical joins. Logical joins express the cardinality
relationships between logical tables and are a requirement for a valid business model. Specifying the logical table
joins is required so that Oracle BI Server has necessary metadata to translate logical requests against the business
model into SQL queries against the physical data sources. Logical joins help Oracle BI Server understand the
relationships between the various pieces of the business model. When a query is sent to Oracle BI Server, the server
determines how to construct physical queries by examining how the logical model is structured. Examining logical
joins is an integral part of this process. The Administration Tool considers a table to be a logical fact table if it is at the
many end of all logical joins that connect it to other logical tables.
4 .Click OKto close the Logical Join dialog box.
5 . Click the Xto close the Business Model Diagram.
Examine Logical Columns
1 . Expand the D1 Timelogical table. Notice that logical columns were created automatically for each table when you
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
30 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
31/354
dragged the alias tables from the Physical layer to the BMM layer.
Examine Logical Table Sources
1 . Expand the Sourcesfolder for the D1 Timelogical table. Notice there is a logical table source, D1 Time. This logical
table source maps to the D1 Time alias table in the Physical layer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
31 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
32/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
33/354
3 . On the General tab, rename the D1 Time logical table source to LTS1 Time. Notice that the logical table to physical
table mapping is defined in the "Map to these tables" section.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
33 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
34/354
4 . On the Column Mapping tab, notice that logical column to physical column mappings are defined. If mappings are
not visible, select Show mapped columns.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
34 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
35/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
36/354
Rename Logical Objects Manually
1. Expand the D1 Timelogical table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
36 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
37/354
Rename Objects Using the Rename Wizard
1 . Select Tools > Utilities > Rename Wizard > Executeto open the Rename Wizard.
2 . In the Select Objects screen, click Business Model and Mappingin the middle pane.
3 . Expand the Sample Salesbusiness model.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
37 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
38/354
4 . Expand the D1 Timelogical table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
38 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
39/354
5 . UseShift+click to select all of the logical columns except for the column you already renamed, Beg of Mth Wid.
6 . Click Addto add the columns to the right pane.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
39 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
40/354
7 . Repeat the steps for the three remaining logical tables so that all logical columns from the Sample Sales business
model are added to the right pane. Only the columns from F1 Revenue are shown in the screenshot.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
40 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
41/354
8 . Click Nextto move to the Select Types screen.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
41 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
42/354
Notice that Logical Columnis selected. If you had selected other object types, such as logical tables, the type would
have appeared here.
9 . Click Nextto open the Select Rules screen.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
42 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
43/354
10 . In the Select Rules screen, select All text lowercaseand click Addto add the rule to the lower pane.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
43 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
44/354
11 . Add the rule Change each occurrence of '_' into a space.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
44 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
45/354
12 . Add the rule First letter of each word capital.
13 . Click Nextto open the Finish screen. Verify that all logical columns will be named according to the rename rules you
selected.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
45 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
46/354
14 . Click Finish.
15 . In the Business Model and Mapping layer, expand the logical tables and confirm that all logical columns have beenrenamed as expected. The screenshot shows only the columns in D1 Time.
16 . In the Physical layer, expand the alias tables and confirm that all physical columns have notbeen renamed. The
point here is you can change object names in the BMM layer without impacting object names in the Physical layer.
When logical objects are renamed, the relationships between logical objects and physical objects are maintained by
the logical column to physical column mappings.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
46 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
47/354
Delete Unnecessary Logical Objects
1 . In the BMM layer, expand Sample Sales > F1 Revenue.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
47 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
48/354
2 . Use Ctrl+Click to select all F1 Revenue logical columns except for Revenueand Units.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
48 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
49/354
3 . Right-click any one of the highlighted logical columns and select Delete. Alternatively you can select Edit > Delete or
press the Delete key on your keyboard.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
49 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
50/354
4 . Click Yesto confirm the delete.
5 . Confirm that F1 Revenue contains only the Revenueand Unitscolumns.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
50 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
51/354
Create Simple Measures
1 . Double-click the Revenuelogical column to open the Logical Column dialog box.
2 . Click the Aggregationtab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
51 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
52/354
3 . Change the default aggregation rule to Sum.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
52 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
53/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
54/354
Measures are typically data that is additive, such as total dollars or total quantities. The F1 Revenue logical fact table
contains the measures in your business model. You aggregated two logical columns by summing the column data.
6 . Save the repository without checking global consistency.
Congratulations! You have successfully built a business model in the Business Model and Mapping layer of a
repository and created business measures.
Building the Presentation Layer of a Repository
You have created the initial Sample Sales business model in the repository. You now create the Presentation layer of
the repository. The Presentation layer exposes the business model objects in Oracle BI user interfaces so that users
can build analyses and dashboards to analyze their data.
To build the Presentation layer you perform the following steps:
Create a Subject Area
Create Presentation Tables
Create Presentation Columns
Rename Presentation Columns
Reorder Presentation Columns
Create a Subject Area
Create Presentation Tables
Create Presentation Columns
Rename Presentation Columns
Reorder Presentation Columns
Create a Subject Area
1 . Right-click thewhite spacein the Presentation layer and select New Subject Areato open the Subject Area dialog
box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
54 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
55/354
2 . On the General tab, enter Sample Salesas the name of the subject area.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
55 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
56/354
3 . Click OKto close the Subject Area dialog box. The Sample Sales subject area is added to the Presentation layer.
Create Presentation Tables
1. Right-click the Sample Salessubject area and select New Presentation Tableto open the Presentation Table
dialog box.
2. On the General tab, enter Timeas the name of the presentation table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
56 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
57/354
3 . Click OKto close the Presentation Table dialog box. The Time presentation table is added to the Sample Sales
subject area.
4 . Repeat the process and add three more presentation tables: Products, Customers, and Base Facts.
Please note that you are using the manual method for creating Presentation layer objects. For simple models it is
also possible to drag objects from the BMM layer to the Presentation layer to create the Presentation layer objects.
When you create presentation objects by dragging from the BMM layer, the business model becomes a subject area,
the logical tables become presentation tables, and the logical columns become presentation columns. Note that all
objects within a subject area must derive from a single business model.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
57 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
58/354
Create Presentation Columns
1. In the BMM layer, expand theD1 Timelogical table.
2. Use Ctrl+ Clickto select the following logical columns:
Calendar Date
Per Name Half
Per Name Month
Per Name Qtr
Per Name Week
Per Name Year.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
58 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
59/354
3 . Drag the selected logical columns to the Timepresentation table in the Presentation layer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
59 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
60/354
4 . Repeat the process and add the following logical columns to the remaining presentation tables:
Products: Drag Brand, Lob, Prod Dsc, Typefrom D2 Product.
Customers: Drag Cust Key, Namefrom D3 Customer.
Base Facts: Drag Revenue, Unitsfrom F1 Revenue.
Rename Presentation Columns
1. In the Presentation layer, expand the Productspresentation table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
60 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
61/354
2. Double-click the Lobpresentation column to open the Presentation Column dialog box. On the General tab notice
that "Use Logical Column Name" is selected. When you drag a logical column to a presentation table, the resulting
presentation column inherits the logical column name by default. In this example the Lob presentation column
inherits the name of the logical column "Sample Sales"."D2 Product"."Lob".
3 . Deselect Use Logical Column Name. The Name field is now editable.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
61 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
62/354
4 . Enter Line of Businessin the Name field.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
62 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
63/354
5 . Click OKto close the Presentation Column dialog box. Notice that the presentation column name is now changed to
Line of Business in the Presentation layer.
6 . In the BMM layer, expand D2 Product. Notice that the Loblogical column name is not changed. The point here isyou can change object names in the Presentation layer without impacting object names in the BMM or Physical
layers.
7 . In the BMM layer, rename the Prod Dsclogical column to Product. Notice that the name change is inherited by thecorresponding presentation column.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
63 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
64/354
8 . Make the following name changes to logical objects in the BMM layer so that the names of the corresponding
presentation columns are also changed:
For the D3 Customer logical table:
Change Cust Keyto Customer Number.
Change Nameto Customer Name.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
64 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
65/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
66/354
2. Click the Columnstab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
66 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
67/354
3 . Select columns and use the up and down arrows, or drag the columns. to rearrange the presentation columns into
the following order from top to bottom:
Per Name Year
Per Name Half
Per Name QtrPer Name Month
Per Name Week
Calendar Date
4 . Click OKto close the Presentation Table dialog box and confirm that the presentation column order is changed in the
Presentation layer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
67 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
68/354
5 . Repeat the steps to reorder the columns in the Productspresentation table:
Brand
Line of Business
Type
Product
6 . Save the repository without checking global consistency.
Congratulations! You have successfully built the Presentation layer of a repository.
Testing and Validating a Repository
You have finished building an initial business model and now need to test and validate the repository before continuing.
You begin by checking the repository for errors using the consistency checking option. Next you load the repository into
Oracle BI Server memory. You then test the repository by running an Oracle BI analysis and verifying the results.
Finally, you examine the query log file to observe the SQL generated by Oracle BI Server.
To test and validate a repository you perform the following steps:
Check Consistency
Disable Caching
Load the Repository
Set Up Query Logging
Create and Run and Analysis
Check the Query Log
Check Consistency
Disable Caching
Load the Repository
Set Up Query Logging
Create and Run an Analysis
Check the Query Log
Check Consistency
1. Select File > Check Global Consistency.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
68 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
69/354
2. You should receive the message Business model "Sample Sales" is consistent. Do you want to mark it asavailable for queries?
3 . Click Yes. You should receive the message: Consistency check didn't find any errors, warnings or best practice
violations.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
69 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
70/354
If you do not receive this message, you must fix any consistency check errors or warnings before proceeding.
4 . Click OK. Notice that the Sample Sales business model icon in the BMM layer is now green, indicating it is available
for queries.
5 . Save the repository without checking global consistency again.
6 . Select File > Close to close the repository. Leave the Administration Tool open.
Disable Caching
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
70 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
71/354
1. Open a browser and enter the following URL to navigate to Fusion Middleware Control Enterprise Manager:
http://:7001/em
In this tutorial the URL is http://localhost:7001/em
2. Log in as an administrative user. Typically you use the administrative user name and password provided during the
Oracle BI installation. In this example the user name isweblogic.
3 . In the left navigation pane, expand Business Intelligenceand click coreapplication.
4 . Click the Capacity Management tab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
71 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
72/354
5 . Click the Performancesub tab.
6 . Locate the Enable BI Server Cachesection. Cache is enabled by default.
7 . ClickLock and Edit Configuration.
8 . Click Closewhen you receive the confirmation message "Lock and Edit Configuration - Completed Successfully."
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
72 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
73/354
9 . Deselect Cache enabled. Caching is typically not used during development. Disabling cache improves query
performance.
10 . Click Apply.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
73 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
74/354
11 . Click Activate Changes.
12 . Click Closewhen you receive the confirmation message Activate Changes - Completed Successfully.
13 . Do not click Restart to apply recent changesyet. You do that after uploading the repository in the next set of steps.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
74 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
75/354
Load the Repository
1. Click the Deploymenttab.
2 . Click the Repositorysub tab.
3 . ClickLock and Edit Configuration.
4 . Click Closewhen you receive the confirmation message "Lock and Edit Configuration - Completed Successfully."
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
75 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
76/354
5 . In the "Upload BI Server Repository" section, click Browseto open the Choose file dialog box.
6 . By default, the Choose file dialog box should open to the repositorydirectory. If not, navigate to the repository
directory with the BISAMPLE repository.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
76 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
77/354
7 . Select the BISAMPLE.rpdfile and click Open.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
77 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
78/354
8 . Enter BISAMPLEas the repository password and confirm the password.
9 . Click Apply.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
78 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
79/354
10 . In the BI Server Repository section, confirm that the Default RPD is now BISAMPLE with an extension. In this
example the file name is BISAMPLE_BI0025.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
79 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
80/354
11 . Click Activate Changes.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
80 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
81/354
12 . Click Closewhen you receive the confirmation message Activate Changes - Completed Successfully.
13 . Click Restart to apply recent changesto navigate to the Overviewpage (this may take a moment).
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
81 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
82/354
14 . On the Overview page, click Restart.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
82 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
83/354
15 . ClickYeswhen you receive the messageAre you sure you want to restart all BI components?
16 . Allow the Restart All processing to complete. This may take a few moments.
17 . Click Closewhen you receive the confirmation message Restart All - Completed Successfully.
18 . Confirm that System Componentsare 100%and that five components are up. Leave Enterprise Manager open.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
83 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
84/354
Set Up Query Logging
1 . Return to the Administration Tool, which should still be open.
2 . Select File > Open > Onlineto open the repository in online mode. You use online mode to view and modify a
repository while it is loaded into the Oracle BI Server. The Oracle BI Server must be running to open a repository in
online mode.
3 . Enter BISAMPLEas the repository password and enter your user name and password.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
84 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
85/354
4 . Click Opento open the repository in online mode.
5 . Select Manage > Identityto open Security Manager.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
85 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
86/354
6 . In the left pane, select BI Repository.
7 . In the right pane, double-click your administrative user to open the User dialog box. In this example the
administrative user isweblogic.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
86 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
87/354
8 . In the User dialog box, on the User tab, set Logging level to 2.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
87 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
88/354
9 . Click OKto open the Check Out Objects dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
88 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
89/354
10 . In the Check Out Objects dialog box, click Check Out. When you are working in a repository open in online mode,
you are prompted to check out objects when you attempt to perform various operations.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
89 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
90/354
11 . Select Action > Closeto close Security Manager.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
90 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
91/354
12 . Select File > Check In Changes. Alternatively, you can click the Check In Changes icon on the toolbar.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
91 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
92/354
13 . Save the repository. There is no need to check consistency.
14 . Select File > Closeto close the repository.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
92 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
93/354
15 . Click OKwhen you receive the following message:
"In order for your online changes to take effect, you will have to manually restart each non-master Oracle BI Server
instance in the cluster."
16 . Leave the Administration Tool open.
Create and Run an Analysis
1. Open a browser or a new browser tab and enter the following URL to navigate to Oracle Business Intelligence:
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
93 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
94/354
http:///:9704/analytics
In this tutorial the URL is http://localhost:9704/analytics
2. Sign in as an administrative user. Typically you use the administrative user name and password provided during the
Oracle BI installation. In this example the user name isweblogic. If you need help identifying a user name andpassword, contact your company's Oracle BI Administrator.
3 . In the left navigation pane, under Create... Analysis and Interactive Reporting, select Analysis.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
94 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
95/354
4 . Select the Sample Salessubject area.
5 . In the left navigation pane, expand the folders in the Sample Sales subject area and confirm that the user interface
matches the presentation layer of the repository.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
95 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
96/354
6 . Double-click the following column names in the Subject Areas pane to add them to the analysis:
Time.Per Name Year
Products.Type
Base Facts.Revenue
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
96 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
97/354
7 . Click Results.
8 . The analysis results are displayed in a compound layout, which includes a Title view and a Table view.
9 . Use the buttons at the bottom of the compound layout to view additional rows.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
97 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
98/354
Check the Query Log
1 . Return to Fusion Middleware Control Enterprise Manager, which should still be open.
2 . Click the Diagnosticstab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
98 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
99/354
3 . Click the Log Messages sub tab.
4 . Scroll to the bottom of the window to the View / Search Log Filessection.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
99 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
100/354
5 . Click Server Logto navigate to the Log Messages screen.
6 . In the Log Messages screen, leave the data range set to Most Recent, 1 Days. Deselect all message types except
for Trace.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
00 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
101/354
7 . In the Message field, enter sending query to database.
8 . Click Search.
9 . There should be only one message at this point, but if there are more than one, select the last message in the list.
This is the most recent query sent to the database.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
01 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
102/354
10 . In the bottom pane, click the Collapse Pane button(arrow on the right side) to view the log message. Your results
should look similar to the screenshot.
11 . Click the Restore Pane button. Throughout this tutorial, you return to this view to check the query log.
12 . Leave Enterprise Manageropen.
Managing Logical Table Sources
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
02 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
103/354
In this set of steps you create multiple logical table sources for the D3 Customer logical table. To create multiple logical
table sources you perform the following steps:
Open the Repository in Offline Mode
Add a New Logical Table Source
Create Presentation Layer Objects
Load the Repository
Create and Run an Analysis
Check the Query Log
Open the Repository in Offline Mode
Add a New Logical Table Source
Create Presentation Layer Objects
Load the Repository
Create and Run an Analysis
Check the Query Log
Open the Repository in Offline Mode
1 . Return to the Administration Tool, which should still be open. If not, select Start > Programs > Oracle Business
Intelligence > BI Administration.
2 . Select File > Open > Offline.
3 . Select the BISAMPLE repository with the highest number extension. In this example it is BISAMPLE_BI0025.rpd.
Yours may be BISAMPLE_BI0001, or something similar.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
03 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
104/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
105/354
6 . Enter BISAMPLEas the repository password.
7 . Click OKto open the repository in Read Only mode.
8 . Select File > Save Asto open the Save As dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
05 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
106/354
9 . Select BISAMPLE.rpdto enter it in the File name field.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
06 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
107/354
10 . Click Save.
11 . You should receive the message: BISAMPLE.rpd already exists. Do you want to replace it?
12 . Click Yesto open the BISAMPLE repository in offline mode. This action replaces the existing BISAMPLE repository
with the BISAMPLE repository that contains the security information.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
07 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
108/354
13 . Select Manage > Identity to open Security Manager.
14 . Select BI Repository in the left pane.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
08 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
109/354
15 . Confirm that your administrative user is visible in the right pane. In this example the administrative user isweblogic.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
09 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
110/354
16 . Double-click the administrative user to open the User dialog box. On the Usertab, confirm that logging level is set to
2.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
10 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
111/354
17 . Click Cancel to close the User dialog box.
18 . Select Action > Closeto close Security Manager. The offline BISAMPLE repository now has a user with a logging
level set to 2. This will allow you to check the query log as you complete the remaining exercises in this tutorial. You
will not have to repeat the steps of saving an online repository.
Add a New Logical Table Source
1 . In the BMM layer, expand Sample Sales > D3 Customer > Sources. Notice that the D3 Customer logical table has
one logical table source named D3 Customer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
11 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
112/354
2 . Rename the D3 Customer logical table source (not the logical table) to LTS1 Customer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
12 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
113/354
3 . Double-click LTS1 Customer to open the Logical Table Source dialog box.
4 . Click the Column Mapping tab and notice that all logical columns map to physical columns in the same physical
table: D3 Customer. It may be necessary to scroll to the right to see the Physical Table column. Make sure "Show
mapped columns" is selected.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
13 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
114/354
5 . Click OK to close the Logical Table Source dialog box.
6 . In the Physical layer, expand orcl > BISAMPLE.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
14 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
115/354
7 . Drag D4 Addressfrom the Physical layer to the D3 Customerlogical table in the BMM layer. Notice this creates a
new logical table source named D4 Address for the D3 Customer logical table. It also creates new logical columns
that map to the D4 Address physical table.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
15 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
116/354
8 . In the BMM layer, double-click the new D4 Address logical table source to open the Logical Table Source dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
16 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
117/354
9 . On the General tab, enter LTS2 Customer Addressin the Name field.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
17 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
118/354
10 . Click the Column Mappingtab and notice that all logical columns map to physical columns in the same physical
table: D4 Address. If necessary, select Show mapped columns and deselect Show unmapped columns.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
18 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
119/354
11 . Click the red Xnext toADDRESS_KEYto delete the column. This is a duplicate column and is not needed.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
19 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
120/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
121/354
13 . Confirm that the D3 Customer logical table now has two logical table sources: LTS1 Customer and LTS2 Customer
Address. A single logical table now maps to two physical sources.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
21 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
122/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
123/354
Your results should look similar to the screenshot.
Create Presentation Layer Objects
1 . In the Presentation layer, right-click the Sample Salessubject area and select New Presentation Tableto open the
Presentation Table dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
23 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
124/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
125/354
3 . Click OK to close the Presentation Table dialog box. Confirm that the Customer Regions presentation table is added
to the Sample Sales subject area in the Presentation layer.
4 . In the BMM layer, expand Sample Sales > D3 Customer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
25 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
126/354
5 . Drag the following logical columns fromD3 Customer to Customer Regionsin the Presentation layer:
Address 1
Address 2
Area
City
Country Name
Estab Name
Postal Code
Region
State Province
State Province Abbrv
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
26 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
127/354
Your column names may be slightly different depending on how you renamed them.
6 . Reorder the Customer Regions presentation columns in the following order, from top to bottom:
Region
Area
Country Name
State Province
State Province Abbrv
City
Postal Code
Address 1
Address 2
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
27 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
128/354
Estab Name
7 . Double-click the Sample Sales subject area in the Presentation layer to open the Subject Area dialog box.
8 . Click the Presentation Tablestab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
28 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
129/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
130/354
10 . Click OK to close the Subject Area dialog box. Confirm that the presentation tables appear in the expected order.
You now have two presentation tables, Customers and Customer Regions, mapped to the same logical table, D3
Customer. The D3 Customer logical table is mapped to two physical sources: D3 Customer and D4 Address.
11 . Save the repository and check global consistency when prompted. You should receive a message that there are no
errors, warnings, or best practice violations to report.
If you do receive any consistency check errors or warnings, fix them before proceeding.
12 . Click OK to close the consistency check message.
13 . Close the repository. Leave the Administration Tool open.
Load the Repository
1. Return to Fusion Middleware Control Enterprise Manager, which should still be open. If not, open a browser and
enter the following URL to navigate to Fusion Middleware Control Enterprise Manager:
http:///:7001/em
In this tutorial the URL is http://localhost:7001/em
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
30 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
131/354
2. If your session has timed out, you will need to log in again. Log in as an administrative user. Typically you use the
administrative user name and password provided during the Oracle BI installation. In this example the user name is
weblogic.
3 . In the left navigation pane, expand Business Intelligenceand click coreapplication.
4 . Click the Deploymenttab.
5 . Click the Repositorysub tab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
31 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
132/354
6 . ClickLock and Edit Configuration.
7 . Click Closewhen you receive the confirmation message Lock and Edit Configuration - Completed Successfully.
8 . Click Browseand navigate to the directory with the BISAMPLErepository.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
32 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
133/354
9 . Select the BISAMPLE.rpdfile and click Open.
10 . Enter BISAMPLEas the repository password and confirm the password.
11 . Click Apply.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
33 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
134/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
135/354
13 . Click Activate Changes.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
35 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
136/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
137/354
16 . On the Overview page, click Restart.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
37 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
138/354
17 . ClickYeswhen you receive the messageAre you sure you want to restart all BI components?
18 . Allow the processing to complete.
19 . Click Closewhen you receive the message Restart All - Completed Successfully.
Create and Run an Analysis
1. Return to Oracle BI, which should still be open. If not, open a browser or browser tab and enter the following URL to
navigate to Oracle Business Intelligence:
http:///:9704/analytics
In this tutorial the URL is http://localhost:9704/analytics.
2. If your previous session has timed out, sign in as an administrative user. Typically you use the administrative user
name and password provided during the Oracle BI installation. In this example the user name isweblogic.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
38 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
139/354
3 . In the left navigation pane, under Create... Analysis and Interactive Reporting, select Analysis.
4 . Select the Sample Salessubject area.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
39 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
140/354
5 . In the left navigation pane, expand the folders and confirm that the Customer Regions folder and corresponding
columns appear.
6 . Create the following analysis by double-clicking column names in the Subject Areas pane:
Customer Regions.Region
Customers.Customer Name
Products.Type
Base Facts.Revenue
7 . Click Resultsto view the analysis results. Use the buttons at the bottom of the results screen to see more rows.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
40 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
141/354
Check the Query Log
1 . Return to Fusion Middleware Control Enterprise Manager, which should still be open.
2 . Click the Diagnosticstab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
41 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
142/354
3 . Click the Log Messages sub tab.
4 . Scroll to the bottom of the window to the View / Search Log Filessection.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
42 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
143/354
5 . Click Server Logto navigate to the Log Messages screen.
6 . In the Log Messages screen, leave the data range set to Most Recent, 1 Days. Deselect all message types except
for Trace.
7 . In the Message field, enter sending query to database.
8 . Click Search.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
43 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
144/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
145/354
12 . Leave Enterprise Manageropen.
Creating Calculation Measures
In this set of steps you use existing measures to created a derived calculation measure. To create a derived calculation
measure you perform the following steps:
Open the Repository in Offline Mode
Create a Calculation Measure Derived from Existing Columns
Create a Calculation Measure Using a Function
Load the Repository
Create and Run an Analysis
Check the Query Log
Open the Repository in Offline Mode
Create a Calculation Measure Derived from Existing Columns
Create a Calculation Measure Using a Function
Load the Repository
Create and Run an Analysis
Check the Query Log
Open the Repository in Offline Mode
1 . Return to the Administration Tool, which should still be open. If not, select Start > Programs > Oracle Business
Intelligence > BI Administration.
2 . Select File > Open > Offline.
3 . Select BISAMPLE.rpdand click Open. Do not select any BISAMPLE repository with an extension, for example,
BISAMPLE_BI0025.rpd. Recall that these are the repositories that have been loaded into Oracle BI Server memory.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
45 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
146/354
4 . Enter BISAMPLEas the repository password and click OKto open the repository.
Create a Calculation Measure Derived from Existing Columns
1 . In the BMM layer, expand Sample Sales > F1 Revenue.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
46 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
147/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
148/354
4 . Click the Column Sourcetab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
48 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
149/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
150/354
6 . Click the Edit Expressionbutton to open Expression Builder.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
50 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
151/354
7 . In the left pane select Logical Tables > F1 Revenue > Revenue.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
51 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
152/354
8 . Click the Insert selected itembutton to move the Revenue column to the right pane.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
52 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
153/354
9 . Click the division operatorto add it to the expression.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
53 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
154/354
10 . In the left pane select Logical Tables > F1 Revenueand then double-click Unitsto add it to the expression.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
54 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
155/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
156/354
12 . Click OKto close the Logical Column dialog box. The Actual Unit Pricecalculated measure is added to the
business model.
13 . Drag Actual Unit Pricefrom the BMM layer to the Base Facts presentation table in the Presentation layer.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
56 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
157/354
14 . Save the repository and check consistency. Fix any errors or warnings before proceeding.
Create a Calculation Measure Using a Function
1 . In the BMM layer, right-click F1 Revenue and select New Object > Logical Columnto open the Logical Column
dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
57 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
158/354
Load the Repository
1. Return to Fusion Middleware Control Enterprise Manager, which should still be open. If not, open a browser and
enter the following URL to navigate to Fusion Middleware Control Enterprise Manager:
http:///:7001/em
In this tutorial the URL is http://localhost:7001/em
2. If necessary, log in as an administrative user. Typically you use the administrative user name and password provided
during the Oracle BI installation. In this example the user name is weblogic.
3 . In the left navigation pane, expand Business Intelligenceand click on coreapplication.
4 . Click the Deploymenttab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
58 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
159/354
5 . Click the Repositorysub tab.
6 . ClickLock and Edit Configuration.
7 . Click Closewhen you receive the confirmation message Lock and Edit Configuration - Completed Successfully.
8 . Click Browseand navigate to the directory with the BISAMPLErepository.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
59 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
160/354
9 . Select the BISAMPLE.rpdfile and click Open.
10 . Enter BISAMPLEas the repository password and confirm the password.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
60 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
161/354
11 . Click Apply.
12 . Confirm that the default RPD is now BISAMPLE with an extension. In this example the file name is
BISAMPLE_BI0025.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
61 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
162/354
13 . Click Activate Changes.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
62 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
163/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
164/354
16 . On the Overview page, click Restart.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
64 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
165/354
17 . ClickYeswhen you receive the messageAre you sure you want to restart all BI components?
18 . Allow the processing to complete.
19 . Click Closewhen you receive the message Restart All - Completed Successfully.
Create and Run an Analysis
1. Return to Oracle BI, which should still be open. If not, open a browser or browser tab and enter the following URL to
navigate to Oracle Business Intelligence:
http:///:9704/analytics
In this tutorial the URL is http://localhost:9704/analytics.
2. If necessary, log in as an administrative user. Typically you use the administrative user name and password provided
during the Oracle BI installation. In this example the user name is weblogic.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
65 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
166/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
167/354
8 . Click Resultsto view the analysis results.
Please note that the Actual Unit Price calculation is correct, although it does not make sense from a business
perspective. For example, the unit price for an LCD HD Television would not be 9 dollars. This is a result of the
underlying sample data.
Check the Query Log
1 . Return to Fusion Middleware Control Enterprise Manager, which should still be open, and check the query log. Ifyou need help, click hereto review steps from earlier in this tutorial.
2 . Your log entry should look similar to the screenshot.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
67 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
168/354
Note that the division of Revenue by Units is calculated in the outer query block (D1.c2 / nullif ( D1.c1, 0) as c3 in this
example). Because you defined the Actual Unit Price calculation using logical columns, the SUM aggregation rule is
applied to the Revenue and Units columns first and then the division is calculated.
3 . Leave Enterprise Manageropen.
Creating Logical Dimensions with Level-Based Hierarchies
In this set of steps you add logical dimension hierarchies to the business model. A logical dimension represents a
hierarchical organization of logical columns belonging to a single logical dimension table. Logical dimensions can exist
in the Business Model and Mapping layer and in the Presentation Layer. Adding logical dimensions to the Presentation
layer exposes them to users, which enables users to create hierarchy-based queries. You implement four logical
dimensions for ABC: Time, Product, Office, and Customer. Creating logical dimensions with hierarchies allows you to
build level-based measures, define aggregation rules that vary by dimension, provide drill down on charts and tables in
analyses and dashboards, and define the content of aggregate sources.To create logical dimensions with level-based
hierarchies, you perform the following steps:
Open the Repository in Offline Mode
Create a Logical Dimension for Product
Create Logical Levels
Associate Logical Columns with Logical Levels
Set Logical Level Keys
Create a Logical Dimension for Time
Associate Time Logical Columns with Logical Levels
Create a Logical Dimension for Customer
Set Aggregation Content for Logical Table Sources
Test Your Work
Open the Repository in Offline Mode
Create a Logical Dimension for Product
Create Logical Levels
Associate Logical Columns with Logical Levels
Set Logical Level Keys
Create a Logical Dimension for Time
Associate Time Logical Columns with Logical Levels
Create a Logical Dimension for Customer
Set Aggregation Content for Logical Table Sources
Test Your Work
Open the Repository in Offline Mode
1 . Return to the Administration Tool, which should still be open. If not, select Start > Programs > Oracle BusinessIntelligence > BI Administration.
2 . Select File > Open > Offline.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
68 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
169/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
170/354
3 . Click OK. The logical dimension is added to the Sample Sales business model.
Create Logical Levels
1 . Right-click H2 Product and select New Object > Logical Level.
2 . Name the logical level Product Total .
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
70 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
171/354
3 . Because this level represents the grand total for products, select the Grand total levelcheck box. Note that when
you do this, the Supports rollup to higher level of aggregationfield is grayed out and protected.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
71 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
172/354
4 . Click OKto close the Logical Level dialog box. The Product Totallevel is added to the H2 Product logical
dimension.
5 . Right-click Product Totaland select New Object > Child Levelto open the Logical Level dialog box.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
72 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
173/354
6 . Name the logical level Product Brand.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
73 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
174/354
7 . Click OKto close the Logical Level dialog box. The Product Brandlevel is added to the logical dimension.
8 . Repeat the steps to add the following child levels:
Product LOBas a child of Product Brand
Product Typeas a child of Product LOB
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
74 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
175/354
Product Detailas a child of Product Type
Use the screenshot as a guide:
Associate Logical Columns with Logical Levels
1 . Expand the D2 Product logical table.
2 . Drag the Brandcolumn from D2 Product to the Product Brand level in H2 Product.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
75 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
176/354
3 . Continue dragging logical columns from the D2 Productlogical table to their corresponding levels in the H2 Product
logical dimension:
Logical Column Logical LevelLob Product LOB
Type Product Type
Product Product Detail
Prod Key Product Detail
Your results should look similar to the screenshot:
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
76 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
177/354
Set Logical Level Keys
1 . Double-click the Product Brand logical level to open the Logical Level dialog box. On the General tab, notice that
the Product LOB child level is displayed.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
77 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
178/354
2 . Click the Keystab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
78 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
179/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
180/354
4 . In the Columns field, use the drop down list to select D2 Product.Brand.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
80 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
181/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
182/354
6 . Set Brandas the Primary key.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
82 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
183/354
7 . Click OKto close the Logical Level dialog box. The icon changes for Brand to show that it is the key for the Product
Brand level.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
83 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
184/354
-
8/9/2019 Creating a Repository Using OBI Administration Tool
185/354
10 . The icon changes for Lob to show that it is the key for the Product LOB level.
11 . Use either method to set the remaining keys for the H2 Product logical dimension:
Logical Level Logical Level Key Use for Display
Product Type Type Yes
Product Detail Product Yes
Product Detail Prod Key No
Your results should look similar to the screenshot:
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
85 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
186/354
Please note that the Detail level (lowest level of the hierarchy) must have the column that is the logical key of the
dimension table associated with it and it must be the key for that level: Prod Key in this example.
12 . Set Prod Keyas the primary key for the Product Detail level. Hint: Double-click the level and select the Keystab.
Creating a Repository Using the Oracle BI Admini... http://www.oracle.com/webfolder/technetwork/t
86 of 355 01/21/2015 01:53
-
8/9/2019 Creating a Repository Using OBI Administration Tool
187/354
Create a Logical Dimension for Time
1 . Use a different technique to create a logical dimension for Time. Right-click the D1 Tim