Calculation Box . Function Categories - you can build calculations using a pre-defined set of functions

Advanced Discoverer Desktop Features 8-11 Figure 8–11 New Condition Dialog Box with AND Conditions Note: As you create the condition formula, the box at the bottom of the dialog box shows its SQL syntax.

4. Fill in the values for Item, Condition, and Values.

To see options for the Values, click the drop-down arrow. Figure 8–12 New Condition Dialog Box with Values Displayed The values on the list correspond to the selected item in the condition. Other options are: Select Multiple Values— displays a list of the values for the item. Click multiple values to include them in the values portion of the condition. Create Calculation —click to open the Calculation dialog box. When you finish creating the Calculation, it appears in the Values portion of the condition. 8-12 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Desktop Select Item —displays a dialog box that lists the items currently defined for the worksheet. Select an item to become the value of the advanced conditional expression. Select Parameter —displays a dialog box that lists the parameters currently defined for the worksheet. Select an parameter to become the value of the advanced conditional expression. New Parameter —displays the Parameter dialog box, and you can create a parameter to be the value of the condition. Create Subquery —displays a dialog box for creating a subquery as the value portion of the condition. See the next section for details. Edit Subquery —this option only appears if you’re using a subquery to determine the value; the Edit Subquery dialog box appears so you can edit the previous selections for the subquery. 5. Click OK when the advanced condition is complete.

8.4.1 Creating Subqueries

A subquery for a condition uses a value that requires an intermediate step to determine the value. For example, suppose you want to create a condition that finds all the sales profits that exceed the median profit amount. The intermediate step is to find the median profit amount. Often, you create a separate worksheet to determine the intermediate value. The subquery then identifies the intermediate value on its worksheet as the value for the condition. To create a subquery:

1. Choose Create Subquery from the Values drop-down list on the New Condition

dialog box. See Figure 8–12 above. The Create Subquery dialog box appears. Figure 8–13 Create Subquery Dialog Box 2. If you’ve already created a worksheet that contains the intermediate value, select it from the first drop-down list on the dialog box.