Skip Headers

Oracle9iAS Discoverer Plus User's Guide
Version 9.0.2

Part Number A90879-02
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

4
Using workbooks and worksheets

This chapter explains how to use Discoverer workbooks and worksheets, and contains the following topics:

What are workbooks?

Workbooks are Discoverer files that contain worksheets displaying data retrieved from the database.

If you are familiar with spreadsheet applications (e.g. Microsoft Excel), think of a workbook as a spreadsheet file.

Workbooks typically contain data that is related in some way but organized to show different perspectives. For example, you might want to analyze different aspects of sales performance and create different worksheets for each aspect. For example (see figure below):

You use workbooks in the following ways:

What are worksheets?

Worksheets contain the data that you want to analyze, together with a number of Discoverer components to help you analyze the data. For example, a worksheet can contain parameters, totals, percentages, exceptions, and calculations.

You create a worksheet in a workbook (for more information, see "What are workbooks?").

If you are familiar with spreadsheet applications (e.g. Microsoft Excel), think of a workbook as a spreadsheet file and worksheets as different sheets in that spreadsheet file.

In the figure below, a Discoverer worksheet called Tabular Layout contains information about profits made by two departments across three regions in the year 2000.

Figure 4-2 A Discoverer worksheet


Text description of ws.gif follows.
Text description of the illustration ws.gif

You can develop worksheets in different ways:

How to open workbooks

You can open a workbook that you have saved in the database. You can also open workbooks that other users have saved in the database and have shared with you.

To open a workbook:

  1. Start Discoverer (for more information, see "About starting Discoverer").

    When you start Discoverer, the "Workbook Wizard: Create/Open Workbook dialog (Open)" is displayed.

    Hint: If you have already started Discoverer, do the following:

    1. Choose File | Open to display the Open Workbook dialog.

    2. Select the Database radio button.

    3. Click Open to display the "Open Workbook from Database dialog".

    4. Move to Step 4.

  2. Click the Open an existing workbook button.

    The extra options Database and Scheduled are displayed.

  3. Click the Database button to display the "Open Workbook from Database dialog".


    Text description of openfrom.gif follows.
    Text description of the illustration openfrom.gif

  1. Select the workbook that you want to analyze from the list of workbooks.

  2. Click Open to display the workbook.

    Discoverer first evaluates the workbook to determine how long it will take to open the first worksheet. Depending on how Discoverer is configured, a progress dialog shows you the time estimate for loading the first sheet.


    Text description of progress.gif follows.
    Text description of the illustration progress.gif

    For more information about configuring Discoverer, see "Options dialog: Query Governor tab".

  3. If the workbook or worksheet includes a parameter, you are prompted to enter a value with which to filter the data in the worksheet (see "Using parameters").

    The workbook and the first worksheet are displayed. If the workbook contains more than one worksheet, the worksheets are displayed as tabs along the bottom of the Discoverer window.

    Now you are ready to begin analyzing data using Discoverer!

Notes:

How to open a scheduled workbook

You can open a workbook that you have scheduled in the database. You can also open workbooks that other users have scheduled in the database and have shared with you (for more information, see "What are scheduled workbooks?").

To open a scheduled workbook:

  1. Start Discoverer (for more information, see "About starting Discoverer").

    When you start Discoverer, the "Workbook Wizard: Create/Open Workbook dialog (Open)" is displayed.

    Hint: If you have already started Discoverer, do the following:

    1. Choose File | Open to display the Open Workbook dialog.

    2. Select the Scheduled radio button.

    3. Click Open to display the "Open Scheduled Workbook dialog".

    4. Move to Step 4.

  2. Click the Open an existing workbook button.

    The extra options Database and Scheduled are displayed.

  3. Click the Scheduled button to display the "Open Scheduled Workbook dialog".


    Text description of opensche.gif follows.
    Text description of the illustration opensche.gif

  1. Select the workbook that you want to analyze from the list of workbooks.

  2. Click Open to display the workbook.

    Now you are ready to begin analyzing data using Discoverer!

Notes:

How to edit workbooks

You edit a workbook when you want to update the workbook's worksheets, or change the workbook's properties. For example, you might want to add or remove worksheets, or share the workbook with other Discoverer users.

To edit a workbook:

  1. Open the workbook that you want to edit from the database (for more information, "How to open workbooks").

  2. Make changes to the workbook properties or the worksheets contained within the workbook.

  3. Choose File | Save to save the workbook to the database (for more information, "About saving workbooks to the database").

    Discoverer updates the workbook as you specified.

About saving workbooks to the database

Before you can save a workbook to the database, the Discoverer manager must have given you permission to do so. The Discoverer manager gives you permission to save workbooks to the database by granting you a Discoverer privilege. Provided that you have this privilege, you can:

Contact the Discoverer manager to find out what type of privileges you have to save workbooks (for more information about giving access privileges to other Discoverer users, see "About sharing workbooks").

How to save workbooks

When you save a workbook, you save it in the database. Before you can save it to the database, the Discoverer manager must have given you permission to do so. For more information about saving workbooks to the database, see "About saving workbooks to the database".

To save changes to a workbook and keep the workbook open:

  1. Choose File | Save.

    The changes are saved and the workbook remains open.

To save changes to a workbook and close the workbook:

  1. File | Close.

    If you have not made changes to any worksheet in the workbook, the workbook closes. If the workbook contains unsaved changes on any worksheet, a prompt reminds you to save the changes.

To save the workbook under a new workbook name and keep the workbook open:

  1. Choose File | Save As to display the "Save Workbook to Database dialog".


    Text description of savewb.gif follows.
    Text description of the illustration savewb.gif

  1. Enter a new name in the text box.

    You can enter a name that:

    • has a maximum length of approximately 45 characters (depending on the language in which you are running Discoverer)

    • includes upper or lower case characters, and spaces (for example Jchan Sales Workbook March 2002)

  2. Click Save to save the workbook.

    Changes to the workbook made since the workbook was last saved are saved to the database under the new workbook name. The worksheet remains open. The original workbook remains in the database.

How to rename workbooks and worksheets

You rename a worksheet when you want to change the name displayed in the worksheet tab. For example, you might want to change the default worksheet name created by Discoverer to something more meaningful.

To rename a workbook:

  1. Save the workbook with a new name (for more information, see "How to save workbooks").

  2. (optional) Delete the original workbook (for more information, see "How to delete workbooks from the database").

To rename a worksheet:

  1. If it is not already open, open the workbook that contains the worksheet you want to rename.

  2. Choose Sheet | Rename Sheet to display the "Rename Worksheet dialog".


    Text description of namewkst.gif follows.
    Text description of the illustration namewkst.gif

  3. Enter the new name for the worksheet in the New name field.

  4. Click OK to rename the worksheet.

The worksheet's new name appears on the worksheet's tab at the bottom of the worksheet.

How to re-order worksheets within a workbook

You re-order worksheets within a workbook when you want to change the order that worksheets appear in the workbook. For example, you might want to put the most commonly used worksheet at the front of a workbook to access information more easily.

How to re-order worksheets in a workbook:

  1. Open the workbook that contains the worksheets you want to re-order.

  2. Choose Sheet | Move Sheets to display the "Move Worksheets dialog".


    Text description of movewkst.gif follows.
    Text description of the illustration movewkst.gif

  1. To move a worksheet:

    1. Click on the name of the worksheet that you want to move.

    2. Click the up arrow or down arrow as required to move the worksheet to a different position in the workbook.

  2. Repeat the previous step for each worksheet that you want to move.

  3. When you have finished, click OK to save the details.

The worksheets are now arranged in the order that you specified.

How to refresh worksheets

Data in a workbook appears as the result of querying the database at a particular time. If you have had a workbook open for a while, the data in the workbook might be out-of-date. You refresh a worksheet when you want to make sure that you are accessing the most recent information. When you refresh a worksheet, Discoverer re-queries the database.

  1. Open the worksheet that you want to refresh.

  2. Choose Sheet | Refresh Sheet.

Discoverer displays up-to-date data in the worksheet.

How to delete workbooks from the database

You delete a workbook when you no longer want to use the workbook, and want to remove it permanently from the database. Before deleting old workbooks, make sure that no other Discoverer users want to use the workbook in the future.

To delete a workbook from the database:

  1. Choose File | Manage Workbooks | Delete to display the "Delete Workbooks from Database dialog".


    Text description of wb_del.gif follows.
    Text description of the illustration wb_del.gif

  1. Select the workbook that you want to delete from the list of workbooks.

  2. Click Delete to delete the workbook and close the dialog.

  3. Click Yes at the confirmation dialog.

The selected workbook is permanently removed from the database.

Notes:

About creating new workbooks

In some organizations, the Discoverer manager or an experienced Discoverer user creates the workbooks required by Discoverer users. In other organizations, individual users create their own workbooks.

Typically, you create a new workbook when you want to analyze data in a new way. For example, you might want to create a performance analysis workbook that you will make available to all sales analysts in a marketing department.

Before you can create a new workbook, the Discoverer manager must have given you permission to do so. The Discoverer manager gives you permission to create a new workbook by granting you a Discoverer privilege.

About icons in the Workbook Wizard

You use the Workbook Wizard to guide you when you create worksheets in a workbook. Discoverer uses the following icons in the Workbook Wizard and Worksheet Wizard:

Table 4-1 Workbook Wizard and Worksheet Wizard icons
Icon  Description 

Text description of icon_ba.gif follows.
Text description of the illustration icon_ba.gif
 

Business area - a business area created by the Discoverer manager. To select another business area for the new worksheet, click the drop-down arrow and select from the list of business areas. A business area contains one or more folders. 

Text description of icon_fol.gif follows.
Text description of the illustration icon_fol.gif
 

Folder - a related set of items that you can select for your worksheets. Click the plus (+) and minus (-) symbol next to the folder to open and close the folder. 

Text description of icon_ax.gif follows.
Text description of the illustration icon_ax.gif
 

Axis Item - a column on a table or a level on a crosstab axis. Axis items remain constant and have relatively few unique values (e.g. the names of departments in your organization, the names of your Sales Regions). The values of an axis item are shown as a list of values (LOV). 

Text description of icon_axi.gif follows.
Text description of the illustration icon_axi.gif
 

Item Value - an item in a list of values (LOV).  

Text description of icon_num.gif follows.
Text description of the illustration icon_num.gif
 

Numeric Item - a numeric item. The values of numeric items can change as you analyze the data (e.g. summing profits will produce different results for cities than for regions). Numeric items behave as axis items on table worksheets and correspond to the data in the body of a crosstab. 

Text description of icon_agg.gif follows.
Text description of the illustration icon_agg.gif
 

Aggregation - a mathematical function for aggregating data. For text items (e.g. Region), the typical aggregations are Count, Max, and Min. For example, you can count the number of Regions items, or find the highest or lowest (where A might be the highest and Z the lowest).

For numeric items, typical aggregations are Sum, Count, Max, Min, Average, and Detail. For example, you can find the Sum or Average of the numeric data. The default aggregation (specified by the Discoverer manager) is displayed in bold.  

Text description of icon_con.gif follows.
Text description of the illustration icon_con.gif
 

Condition - a filter for finding specific data.

Note: Conditions defined by the Discoverer manager appear in folders. User-defined conditions do not appear in folders. 

Text description of icon_cal.gif follows.
Text description of the illustration icon_cal.gif
 

Calculation - a mathematical expression to produce new data from other items.

Note: Calculations defined by the Discoverer manager appear in folders. User-defined calculations do not appear in folders. 

Text description of torcha.gif follows.
Text description of the illustration torcha.gif
 

Find - use this icon to display the "Find dialog (in Item Navigator)", which enables you to quickly locate items in business areas. 

How to create new workbooks

While working with Discoverer, you might want to create a new workbook and one or more worksheets. You can then use the new workbook yourself and distribute it to other Discoverer users.

When you create a new workbook, Discoverer immediately prompts you to create a new worksheet to go into the workbook.

To create a new workbook:

  1. Start Discoverer (for more information, see "About starting Discoverer").

    When you start Discoverer, the "Workbook Wizard: Create/Open Workbook dialog (Open)" is displayed.

    Hint: If you have already started Discoverer, choose File | New to display the "Workbook Wizard: Create/Open Workbook dialog (New)" and skip the next step.

  2. Click Create a new workbook.

    The extra options How do you want to display information? are displayed, which enable you to specify a worksheet style for the first worksheet in the new workbook (e.g. table, crosstab).


    Text description of ww_1.gif follows.
    Text description of the illustration ww_1.gif

  3. Select a worksheet style from the How do you want to display the information radio button.

    For more information about worksheet layouts available, see "About the four types of Discoverer worksheet".

  4. Click Next to display the Select Items page of the Workbook Wizard.


    Text description of ww_2.gif follows.
    Text description of the illustration ww_2.gif

    You use the Select Items page to select what data to display on the worksheet.

  5. Select the business area that you want to use from the drop down list at the top of the Available box.

    The folders and items in the business area you selected appear beneath the business area name.

    Hint: Click the torch icon ( The torch icon, used to display the Find dialog where you search for items in the EUL.) above the Available box to display the "Find dialog (in Item Navigator)", where you search the EUL for items that you want to add to the worksheet.

    Hint: Folders containing items available to the current worksheet are active. Items not available to the current worksheet are grayed out.

  6. Move the folders and items that you want to include in the new worksheet from the Available list to the Selected list.

    Hints:

    • Click the plus (+) sign next to a folder to items within the folder.

    • You can select more that one folder or item at a time by pressing the Ctrl key and clicking another folder or item.

    • If you select a folder, you select all items in that folder.

    • Click the plus (+) sign next to items to expand items. For example, you might expand a Region to display the values North, East, and West. If you select North to display data for that region in the worksheet, you create a condition `Region = North' (for more information about conditions, see "Using conditions").

    • Selecting a numeric item automatically includes its default aggregates (e.g. Sum, Count, Max). You can also expand a numeric item list and select individual aggregates.

    Having specified the folders and items to include in the worksheet, you can add other features to the worksheet or close the Workbook Wizard to start analyzing the worksheet data.

  7. Click Next to display the "Edit Worksheet dialog: Table Layout tab", where you can change the default position of worksheet items.

  8. Click Next to display the "Edit Worksheet dialog: Format tab", where you can change the default format of worksheet items (e.g. text color, text style, number format).

  9. (optional) Use the Next button to navigate through the remaining pages of the Workbook Wizard to add other features to the worksheet, including:

    Hint: You can change selections you made on previous pages by clicking the Back button.

  10. Click Finish to create the new worksheet using default values for any options that you did not specify.

    Now you are ready to begin analyzing data using Discoverer!

Notes:

How to add new worksheets to a workbook

You add a worksheet to a workbook when you want to analyze data in a new way. For example, you might have a web traffic analysis workbook to which you want to add a new worksheet on click-stream analysis.

You can add a worksheet in two ways:

To create a new worksheet from the beginning:

  1. Start Discoverer and open the workbook to which you want to add a worksheet (for more information, see "How to open workbooks").

  2. Choose Sheet | New Sheet to display the Worksheet Wizard.

  3. Follow the instructions on the Worksheet Wizard.

The new worksheet is added to the workbook.

How to view a workbook's properties

A workbook's properties provide basic information about the workbook. For example, you might want to find out the name of the workbook owner. Or, you might want to find out the date that the workbook was revised so that you can compare it with another workbook.

To view a workbook's properties:

  1. Open the workbook.

  2. Choose File | Manage Workbooks | Properties to display the "Workbook Properties dialog".

    The "Workbook Properties dialog" displays information about the workbook. You can enter additional information about the workbook in the Description box.


    Text description of props.gif follows.
    Text description of the illustration props.gif
  3. Click OK to save any changes and close the Workbook Properties dialog box.

Notes:

About opening workbooks in a non-Oracle database

If your organization uses non-Oracle databases, the Discoverer manager can set up Discoverer to open workbooks in those databases. You can then use Discoverer to get the data you want. However, depending on the type of database, you might not be able to use all of the data access and analysis features available with Oracle databases. For more information, contact the Discoverer manager.


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index