Skip Headers

Oracle® Business Intelligence Discoverer Plus User's Guide
10g Release 2 (10.1.2.0.0)
Part No. B13915-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

How to create calculations

You create calculations to analyze a worksheet in a new way. For example:

Note: Discoverer provides easy-to-use templates for the most popular analytic functions (for more information, see "What analytic function templates are available in Discoverer?").

To create a calculation:

  1. Display the worksheet that you want to analyze.

  2. Choose Tools | Calculations to display the "Edit Worksheet dialog: Select Items tab: Calculations tab".

    Description of tot6.gif follows
    Description of the illustration tot6.gif

    The Calculations tab lists existing calculations, percentages, and totals available in the worksheet. Active calculations are marked with a tick symbol (or check mark) in the Available list and are also displayed in the Selected list.

  3. Click New and select New Calculation from the drop down list to display the "New Calculation dialog".

    Description of calc1.gif follows
    Description of the illustration calc1.gif

  4. Enter a name for the calculation in the What do you want to name this calculation? field.

    Hint: Use a short descriptive name, which will be displayed on the worksheet.

  5. Enter the calculation formula in the Calculation field.

    If you are familiar with calculation syntax, you can type the formula in the Calculation field.

    Note: If you type a formula in the Calculation field, you must prefix the formula with an equals sign (i.e. =).

    If you prefer, you can build the calculation in stages using any of the following methods:

    • To add an item from the business area to the calculation, choose Selected Items or Available Items from the Show drop down list, select an item from the item list below, then click Paste to copy the item into the Calculation field.

    • To add a function to the calculation, choose Functions from the Show drop down list, select a function from the list below, then click Paste to copy the function into the Calculation field.

    • To add existing calculations to the calculation, choose Calculations from the Show drop down list, select a calculation from the list below, then click Paste to copy the calculation into the Calculation field.

    • To include a mathematical operator in the calculation, click the appropriate operator button below the Calculation field.

      Hint: Before pasting items in the Calculation field, position the cursor in the Calculation field where you want to insert the item.

    • To use an analytic function template to create the formula, click Insert Formula from Template to display a pop-up list of templates and choose a template (for more information about using analytic function templates, see "How to create a new calculation using an analytic function template").

    Note: Calculations follow the standard Oracle calculation syntax. For a full description of this syntax, see the Oracle9i SQL Language Reference Manual.

  6. Click OK to save the details and close the New Calculation dialog.

  7. Click OK to close the Calculations tab and return to the worksheet.

    Discoverer adds the calculation to the worksheet.

Notes