This tutorial covers querying OLAP data using Oracle BI Answers. The OLAP data was prepared for end-user access by completing the previous two lessons of this OBE suite.
Approximately 30 minutes.
This tutorial covers the following topics:
| Overview | |
| Prerequisites | |
| Identify the Global Repository | |
| Summary | |
| Related information |
Place the cursor over this icon to load and view all the screenshots for this tutorial.
(Caution: This action loads all screenshots simultaneously, so response time may be slow depending on your Internet connection.)
Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step. You can hide an individual screenshot by clicking it.
In the previous lessons, you prepared an OLAP Analytic Workspace for access by Oracle BI Enterprise Edition. Then, using the Oracle BI Administration tool, you created a repository that contains the appropriate metadata to describe the OLAP data.
In this lesson, you will use the repository that you previously created to query the OLAP data. Using BI Answers, you will create a report against the OLAP data that provides product family sales analysis for all channels of distribution in European countries.
Before starting this tutorial, you should:
| |
Have successfully completed the following tutorials: Lesson 1: Preparing an Analytic Workspace for Access by Oracle BI EE 10g, and Lesson 2: Creating BI EE 10g Metadata for the Analytic Workspace. |
Before you can access the Global repository that you previously created, you must identify it as the default repository in the NQSConfig.ini file. To modify the confiig file appropriately, perform the following steps:"
1. |
Using an edit tool such as MS Notepad, open the <drive>:\OracleBI\server\Config\NQSConfig.ini file. Locate the [ REPOSITORY ] section of the config file, as shown here:
The sample paint.rpd repository, which is shipped with the BI Enterprise Edition, is listed as the default repository.
|
|||||||||
2. |
Modify the config file as follows:
When you are done, the Repository section should look like this:
|
|||||||||
| 3. | Save the NQSConfig.ini file, and close the Editor.
|
|||||||||
| 4. | Stop, and then restart, the Oracle BI Server service.
This step causes the BI Server to automatically read the Global repository |
|||||||||
| Open the Global Subject Area | ||
| Create a Product Analysis Report | ||
| 1. |
Using the Start menu, select Programs > Oracle Business Intelligence > Presentation Services. Result: The Oracle Business Intelligence login screen appears in your browser:
|
| 2. | Enter global as the User ID, and leave the Password box empty.
Click Log In. Result: Oracle Presentation Server - Dashboards appears in the browser.
|
| 3. |
In the Presentation Server window, click the Answers link.
Result: Oracle BI Answers appears in the browser.
|
| 4. |
In the Subject Areas box, click the Global link, shown here:
Result: The Global presentation catalog is loaded, and the Global subject area appears in the Answers selection pane.
|
Using BI Answers, you query the OLAP data in the same way you would any data source. Open the desired folder in the selection pane, and click on the item that you want to view. The item will be displayed as a column in the Criteria tab.
Query items may be orgainized for table, pivot (cross-tab), and graphical views. Filters may be applied to any selected column, and various formatting criteria may be applied.
When you are done, you will have a report that analyzes product family sales, with a focus on European countries, for all channels of distribution, like this:
Follow these steps to create and modify a query against the OLAP data:
| 1. | Using the Answers selection pane, perform the following:
The resulting display should look like this:
|
||||||||||||||||||
| 2. | Click the Results tab (or the Display Results button). Sales for the three Customer regions appears in the display.
Note: the Sales values are returned for the "Top" level in the other three dimension, as follows: Channel = "Total Channel"; Product = "Total Product"; Time = "All Years"
|
||||||||||||||||||
| 3. | In the Results tab, drill on Europe. Sales data for the five European countries are returned.
|
||||||||||||||||||
| 4. | In the selection pane, drill on Time and select Year. The display should now look something like this:
|
||||||||||||||||||
| 5. | Now, add the following criteria to the query and format the display as a pivot table:
When you are done, the display results should look like this:
Note: There is no data in the system for the Prior Period (in this case, 1997). In addition the Internet channel of distribution was added in the year 2000. In the report, select 2001 - Europe - United Kingdom from the Pages drop-down, like this:
The data updates to reflect the new selection.
|
||||||||||||||||||
| 6. | Apply a filter to the Time dimension to select the years starting with 2001, like this:
|
||||||||||||||||||
| 7. | Select the Chart Pivoted Results option to add a graph to the display. Then, select the following options for the chart:
Result: aA3D Pie graph is displayed below the crosstab, showing the contriibution of sales for each product family in the report.
|
||||||||||||||||||
| 8. | In the report, select 2004 - Europe - United Kingdom from the Pages drop-down.
The crosstab and graph automatically update to reflect changes to report selections.
|
||||||||||||||||||
In previous lessons, you created a repository for your OLAP (Global) data. In this lesson, you accessed the repository and created an analytic report against the OLAP data using Oracle BI Answers.
In this lesson, you've learned how to:
Modify the NQSConfig.ini file to identify the required repository. |
||
| Launch the Presentaton Server and open Oracle BI Answers. | ||
| Query the OLAP data in Global repository and create an analytic report. | ||
To learn more about Oracle Business Intelligence Enterprise Edition, refer to additional OBEs on the OTN Web site. From this page, select Business Intelligence Start > Oracle BI Enterprise Edition (EE-10.1.3.2) |