This lesson describes how to use OracleBI Discoverer Viewer to open and view workbooks created from an OLAP data source.
![]() |
Prerequisites | |
![]() |
Opening an OLAP Workbook | |
![]() |
Working with Saved Selections | |
![]() |
Unlinking and Linking a Worksheet Layout | |
![]() |
Saving a Copy of an OLAP Workbook | |
![]() |
Summary | |
Place the cursor on this icon
to display all the screenshots in the tutorial. You can also place the cursor
on each individual icon in the following steps to see only the screenshot that
is associated with that step.
In order for this lessons to work successfully, the OracleBI Sample workbooks must be installed.
The OracleBI Sample workbooks help you learn how to use the product, and this lessons illustrate key features of OracleBI Discoverer Viewer with the help of these sample workbooks. If the Sample workbooks are not yet installed, follow the instructions found here.
As mentioned in the lesson titled 'Working with Relational Workbooks', you can use Discoverer Viewer to open relational workbooks as well as workbooks created from an OLAP data source.
| 1. |
To open an OLAP workbook by using Discoverer Viewer, you must connect to an OLAP data source. To connect to an OLAP data source, select OracleBI Discoverer for OLAP from the Connect To drop-down list on the Connect to OracleAS Discoverer page. The examples in this tutorial are based on the Corporate Profitability workbook in the SCOTT shared schema. Enter scott as the username, the appropriate password, and the appropriate database connect string. Click Go. The Worksheet List page appears.
|
| 2. |
Click the
|
| 3. |
Click
|
| 4. |
Open the Corporate Profitability workbook by clicking the The worksheets that are contained in the Corporate Profitability workbook are displayed.
|
| 5. |
Click the Product Category Performance worksheet to open it. The Product Category Performance worksheet is displayed. The worksheet has a graph displayed above a crosstab. Scroll down to see the data. The worksheet shows Sales Revenues and Margins in comparison with that in the previous year, for each product category. Discoverer Viewer displays an OLAP worksheet the same way it displays a relational workbook. Most of the operations that you perform on a relational workbook, such as changing layout, sorting, formatting, stoplighting, and drilling can also be performed on an OLAP workbook. Apart from the features mentioned above, there are some features that are exclusive to OLAP workbooks, including the use of Saved Selections, which is covered in the next topic.
|
Additional Practice
For detailed instructions about how to create and use this worksheet, see the OBE lesson Creating a Product Category Analysis Report - Lesson 1, which is part of the following OBE focus area:Creating Business Intelligence Reports Using Discoverer Plus OLAP.
When you create OLAP worksheets, you select a list of members for each dimension. To store these selections for later or repeated use, you can create a saved selection.
A saved selection is an object that specifies a set of members
for a dimension in a query. These objects are stored in the Discoverer catalog
and can be reused in other queries. An example of a saved selection is Quarters
in 2000 for the dimension Time. This saved selection is defined to include all
the quarters (Q1, Q2, Q3, and Q4) in the year 2000 for the Time Dimension. When
you use this saved selection to change the Time dimension selection, the values
that have been specified in the saved selection are applied to the worksheet.
When you open an OLAP workbook open in Discoverer Viewer, all the associated
saved selections are available. You can add new saved selections or replace
existing ones.
To practice using Saved Selections, perform the following steps:
| 1. |
Click Saved Selections, under Tools. The saved selections toolbar options appear.
|
| 2. |
Use the toolbar options to apply a saved selection that has been defined for any dimension in the OLAP query. For example, the following graphic shows the Time dimension selected in the Dimension drop-down list. The Action drop-down list shows how you can apply the chosen saved selection, and the Saved Selection drop-down list displays the saved selections that are defined for the Time dimension. Select Time from the Dimension drop-down list, Add from the Action list, and Quarters in 2000 from the Saved Selection list. Then, click Go.
|
| 3. |
In addition to the previous Time dimension values, the worksheet now displays data for all the quarters in 2000.
|
| 4. |
In addition to adding dimension members, you can use a saved selection to replace the current dimension selection, or even remove dimension members from the query. For example, to remove the Quarters in 2000 from the query, choose Time from the Dimension list, select Remove from the Action list, and select Quarters in 2000 from the Saved Selection list. Then, click Go. The worksheet data now displays data only for the year 2000.
|
| 5. |
Similarly, when you select a different dimension item, the saved selections list shows the corresponding saved selections. For example, select Geography from the Dimension drop-down list. The list of saved selections that can be applied to this dimension is displayed.
|
Additional Practice
For detailed instructions about how to create saved selections, see the topic Specify Dimension Member Selections, in the following OBE lesson: Creating a Product Category Analysis Report - Lesson 1. This lesson is part of the following OBE focus area:Creating Business Intelligence Reports Using Discoverer Plus OLAP.
In a Discoverer OLAP worksheet, the crosstab and graph may share the same dimensional layout. In other words, the layout of the two views are said to be linked. When the views are linked, changing the layout of either the crosstab or the graph causes the layout of the other view to change automatically.
You can unlink the worksheet layout so that when you change the layout of the crosstab or graph, the other view is not affected.
The current worksheet is linked. To
illustrate how the layout linking feature works, perform the following steps:
| 1. |
In the current worksheet if you change the layout of either the graph or the worksheet, the other view gets affected. On the crosstab toolbar, click Layout.
|
| 2. |
Rotate the Geography and Product dimensions. In the Layout tool, select the following options: Swap > Geography > With Product (Electronics,...) Then, click Go.
|
| 3. |
Observe that the crosstab, as well as the graph, reflects the layout changes.
|
| 4. |
To unlink the layout, select Unlink layout under Actions. Now the layouts of the two different views the crosstab and the graph are not linked. Any layout changes that you make in the crosstab will not be reflected in the graph and vice versa.
|
| 5. |
Change the layout of the crosstab so that the positions of Product and Geography are swapped. (On the layout toolbar, select Swap > Product > With Geography (World total,...), and then click Go.)
|
| 6. |
Observe that the crosstab has changed, but the graph remains the same.
|
| 7. |
On the crosstab, change the value for the Channel page item from Channel Total to Direct. The crosstab data now displays data only for the Direct channel. Observe that this change is reflected in the graph too.
|
| 8. |
Change the layout of the graph to match that of the crosstab. (Select Layout. Then, select Swap > Product (Electronics,...) > With Geography.
|
| 9. |
Once unlinked, the layouts can be linked together again. To link the layouts of the crosstab and the graphs, click Link Layout under Actions. Now any layout changes made to one view will be reflected in the other.
|
You can save the changes made to a workbook or you can save a copy of those changes to a new workbook with a different name. When you save a copy, you must specify a folder location in the Discoverer Catalog.
| 1. |
To save a copy of the workbook, select Save as under Actions. The Save As page appears.
|
|
| 2. |
Enter an appropriate name for the workbook. To specify where to save the workbook, click Folder. The Save As: Select Folder page appears. This page displays all the objects (Calculations, Saved Selections, and Workbooks) that are saved in the shared folder for SCOTT.
|
|
| 3. |
Click Shared.
|
|
| 4. |
The shared folders for which your User ID has privileges are displayed. Click SCOTT.
|
|
| 5. |
Click Apply. The workbook is saved as "Corporate Profitability1." Note: For information about how to publish and share OLAP workbooks by using Discoverer Plus OLAP, go to the following OBE lesson topic:Publish the Workbook for Public Access. This topic is included in a lesson that is part of the following OBE focus area:Creating Business Intelligence Reports Using Discoverer Plus OLAP.
|
|
| 6. |
Your new workbook, Corporate Profitability1, contains copies of all worksheets that were defined in the Corporate Profitability workbook. Now, open the second worksheet from the Corporate Profitability1 workbook. Scroll to the top of the worksheet window, and then click Sales and Margin in the Worksheets list. The Sales and Margin worksheet contains a crosstab and a graph that enable analysis of monthly sales and margin data. The stoplight formatting in the crosstab highlights Margin results that fall in specified ranges. Trends in the Sales and Margin data are also easily identifiable in the graph.
|
|
| 7. |
Modify the stoplight format on the crosstab to specify a new target range for acceptable margins. On the crosstab Toolbar, click the Stoplight tool. Then, specify the following values for the Stoplight options:
|
|
| Measure: % Margin | ||
| Unacceptable: .15 | ||
| Desirable: .16 | ||
|
Click Go to apply the new stoplight formatting thresholds.
|
||
| 8. |
Select Hardware from the Product dimension list. Asia shows an unacceptable margin for December 2001.
|
|
| 9. |
Select Electronics from the Product dimension list. The new stoplight formatting is updated to display appropriate data.
|
|
| 10. |
As demonstrated in a previous topic, you can apply saved selections to change the dimension member selections in an OLAP worksheet. For example, use the Saved Selection tool to Replace the current Product dimension selection with the saved selection named Electronic Products.
After you are finished experimenting with this worksheet, close the workbook without saving the changes.
|
|
In this lesson, you should have learned how to use Discoverer Viewer to open and view workbooks created from an OLAP data source. You should have also learned various features of Discoverer Viewer that are exclusive to OLAP workbooks.
Creating Business Intelligence Reports Using Discoverer Plus OLAP
Place the cursor on this icon to hide all the screenshots in the tutorial.
| Copyright © 2003, Oracle Corporation. All rights reserved. | Contact Us Legal Notices and Terms of Use Privacy Statement | |