This tutorial teaches you how to use the OracleBI Spreadsheet Add-In that is contained in the AS/DS 10G R2 PATCH SET 2 (10.1.2.2).
Note: The Prerequisites topic in the first lesson in this focus area (Lesson 1: Creating Analytic Reports Using Discoverer Plus OLAP 10.1.2.2) contains important information on the 10.1.2.2 Patch Set requirements.
There are many new features for Oracle Business Intelligence that is associated with the 10.1.2.2 patch set release. For the Spreadsheet Add-In, a number of new features are available. This lesson will include an examination of three of these new features:
Discoverer Catalog Support: You can save and retrieve calculations, saved selections,and calculated members from the Discoverer Catalog for use in OLAP queries. |
|
Toolbar: You can use toolbar buttons to perform actions that were previously available only via menus and keystrokes. |
|
| Floating OracleBI Query Editor: You can allow the Query Editor to stay on top of Excel while you edit the query. |
Using the Spreadsheet Add-In, you will create reports against the same OLAP data that you accessed with OracleBI Discoverer Plus OLAP in the first two lessons in this focus area. The same wizards that you have become familiar with while using Discoverer Plus OLAP are also in the Spreadsheet Add-in, making the user experience consistent regardless of the end-user tool selected.
Approximately 1 hour
This tutorial covers the following topics:
| Overview | |
| Prerequisites | |
| Create a Product Ranking Report | |
| Create a Geographical Share Report | |
| 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 this lesson, you create two reports in separate worksheets.
In the first worksheet, you create a product ranking report that uses saved selection that you created using Discoverer Plus OLAP. In addition, you will also use one of the custom Calculated Members that you created in Discoverer. You will modify the report using the new floating Query Editor, create new saved selections, and finally you will add an Excel chart to the worksheet.
In the second worksheet, you create a geographical share report. This report will also use existing saved selections. The report will show how much sales and profit that each of the top performing countries contribute to both the global total and also to their region.
Before starting this tutorial, you should have:
Completed the first and second lessons in this Focus Area: Lesson 1: Creating Analytic Reports Using Discoverer Plus OLAP 10.1.2.2 Lesson 2: Create a Report that Uses Calculated Members |
In this topic, you will connect to the same common schema analytic workspace that you accessed in the previous two lessons. Then, using the same query wizard that you learned to use in Discoverer Plus OLAP, you will create a product ranking report. This report will make use of a saved selection and calculated member that you previously created while using Discoverer.
| Connect to the OLAP Data Source | ||
| Use the OracleBI Query Wizard | ||
Connect to the OLAP Data Source
To connect to the common schema analytic workspace (AW), perform the following steps:
| 1. | Open Microsoft Excel. Result: The Add-In menu item, OracleBI, is displayed in the menubar.
|
||||||||||||
| 2. | In the OracleBI menu, select New Query.
|
||||||||||||
| 3. | On the Connection Editor tabbed page, create a new connection for the AW:
Result: A connection with the name "sh_olap" appears.
|
||||||||||||
| 4. | Select the OLAP Connection tabbed page, and perform the following:
Result: The Welcome page of the OracleBI Query Wizard appears. |
||||||||||||
Here, you will use the OracleBI Query Wizard to create the OLAP query for the Product ranking report.
| 1. | In the Query Wizard Welcome page, click Next.
|
|||||||||||||||||||||||||||
| 2. | In Step 1 of the Query Wizard, perform the following:
|
|||||||||||||||||||||||||||
| 3. | In Step 2, create the following layout by dragging the crosstab items.
Then, click Next.
|
|||||||||||||||||||||||||||
| 4. | For the Time dimension (Step 3 of the wizard), perform the following:
|
|||||||||||||||||||||||||||
| 5. | For the Channel dimension (Step 4of the wizard), move All Channels, Direct, Indirect, and Others to the Selected list and then click Next.
|
|||||||||||||||||||||||||||
| 6. | For the Geography dimension (Step 5 of the wizard), use the My Geographic Regions saved selection.
|
|||||||||||||||||||||||||||
| 7. | For the Product dimension (Step 6 of the wizard), create a multi-step ranking selection. This ranking selection will return the top 5 products from the set of products that you saved in a previous lesson: The My Products saved selection. The ranking will be based on Sales Revenue. Then, when the ranking selection criterion is complete, you will save it for later use.
|
|||||||||||||||||||||||||||
| 8. | Click Finish to create the report, which should look like this:
|
|||||||||||||||||||||||||||
| 9. | If your report does not display decimal places, create formatting of two decimal places for all of the measure data by following the instructions in these next two steps. If your data already contains two decimal places as shown above, move to step 11.
|
|||||||||||||||||||||||||||
| 10. | With the same selection of the data body, set the current data formatting as the default for all queries.
Now, when you add new measures to your OLAP reports, the data should display 2 decimal places
|
|||||||||||||||||||||||||||
| 11. | Select members from the Geography and Channel dimension boxes. The product ranking condition reevaluates for each new Geography and Channel member | |||||||||||||||||||||||||||
| 12. | In addition, you can drill on Time dimension members by double-clicking the drill down (+) or collapse (-) symbols. | |||||||||||||||||||||||||||
In this topic, you will use the Query Editor to modify the layout, dimension selections, and ranking condition of the report.
| Use the Floating Query Editor | ||
| Add an Excel Chart to the Worksheet | ||
The Query Editor is the same wizard that you used in Discoverer Plus OLAP to edit a query. The name of this wizard in Discoverer is the Worksheet Wizard, but all aspects of the wizard are the same in both products.
In the Spreadsheet Add-In, you can specify how you want the Query Editor to be displayed. You can have the Query Editor close after you apply query changes (this is the default behavior), or you can have the Query Editor stay open after you apply query changes. This is also called enabling the "floating" Query Editor.
| 1. | To establish the floating Query Editor, first select OracleBI > Default Options from the menu.
|
||||||||||||||||||||||||
| 2. | In the Default Options dialog box, select the following query editor option in the General tabbed page:
|
||||||||||||||||||||||||
| 3. | To open the Query Editor, click the Edit Query icon.
Result: The floating Query Editor appears in the lower-right hand corner of the spreadsheet.
|
||||||||||||||||||||||||
| 4. | Change the position of, and selection for, the Time dimension by following these steps:
|
||||||||||||||||||||||||
| 5. | Modify the product ranking condition so that it reevaluates for any Time dimension member, rather than basing the ranking on the year 2005. Then, save the new selection.
|
||||||||||||||||||||||||
| 6. | Add the Margin % measure to the report by following these steps:
|
||||||||||||||||||||||||
| 7. | Modify the report to rank products based on Profit, rather than Sales Revenue.
|
||||||||||||||||||||||||
| 8. | Now, modify the ranking condition to be based on Margin %.
The floating Query Editor makes it easy to modify the OLAP query to perform varied analysis. |
||||||||||||||||||||||||
Next, you add an Excel chart to the worksheet. Although you will use Excel features to insert the chart, the chart will be associated with the OLAP query, and will dynamically update as you modify the query.
| 1. | First, in the Query Editor, change the product ranking condition once again to rank data based on Sales Revenue. Then, click OK to apply the change and close the Query Editor.
|
||||||||||||
| 2. | Add an Excel chart by following these instructions:
|
||||||||||||
| 3. | Reposition the chart underneath the crosstab, and then reposition the title over the pie graph.
|
||||||||||||
| 4. | You can select a new Geography, Channel, and Time member from the drop-down lists, and both presentations are automatically updated. For example:
|
||||||||||||
| 5. | Rename the worksheet.
|
||||||||||||
| 6. | When you are done experimenting with the report, save the workbook.
|
||||||||||||
In this topic, you will create a geographical share report in a new worksheet. This report will show how much sales and profit that each of the top performing countries contributes to both the global total and also to their region.
Note: The share measures are computed as a % contribution.
| 1. | Click on Sheet 2, and then click the New Query icon.
|
||||||||||||
| 2. | The Connect Query 2 dialog box opens, with the appropriate connection information pre-filled. Click Connect. Result: The Query Wizard appears.
|
||||||||||||
| 3. | Click Next on the Welcome screen. Then, in Step1 of the Query Wizard, perform the following:
|
||||||||||||
| 4. | In Step 2, create the following layout:
Then click Next.
|
||||||||||||
| 5. | For the Time dimension (Step 3 of the wizard), create a condition to return the last six quarters.
|
||||||||||||
| 6. | For the Channel dimension (Step 4 of the wizard), select All Channels, Direct, Indirect, and Others. Then click Next.
|
||||||||||||
| 7. | For the Geography dimension (Step 5 of the wizard), use the “Countries Sales GT 10K” saved selection that you previously created while using Discoverer Plus OLAP..
|
||||||||||||
| 8. | For the Product dimension (Step 6 of the wizard), use the Members tab of the Available list:
|
||||||||||||
| 9. | Click Finish to create the report. The report should look something like this:
The report illustrates the difference between Parent and Total Share calculations:
For example, in the Electronics Product category, for All Channels of distribution, in Q3 of 2004, Germany contributed 30% of the sales revenue to Europe, and 9% to global sales.
|
||||||||||||
| 10. | Experiment with the report by selecting new Product, Time, and Channel members. In each case, the Geography exception condition eevaluates, and measures update appropriately.
|
||||||||||||
| 11. | When you are done with the report, rename the worksheet and save the workbook.
|
||||||||||||
In this lesson, you learned how to:
| Use the Spreadsheet Add-In to query and report on Oracle OLAP data within Excel. | ||
| Use saved selections and calculated members that were previously saved in the Discoverer catalog. | ||
| Use the floating Query Editor to perform OLAP analysis. | ||
| Add an Excel chart to an OLAP report. | ||
To learn more about Oracle Business Intelligence features of the AS/DS 10G R2 PATCH SET 2 (10.1.2.2) release, refer to additional OBEs in the same focus area. |