Choose Tools | Conditions. Click the New button.

Working with Discoverer Desktop 5-27 Notice that the list of items contains all the data items in the workbook, not just those being displayed on the current table or crosstab. You can use any data item to create a condition. 4. Choose the data item to use for filtering the data. 5. Click the drop-down button for the condition expression and choose the one you want. See the table below for descriptions and examples of the expressions. Figure 5–36 Select the Condition Expression

6. To complete the definition of the condition enter a value in the Values box.

The following table describes the condition expressions: Note: When you create a condition with text for the value, the text must be enclosed in single quotes. For example, in the condition Region = ‘Central’, the text value, ‘Central’, must be enclosed in single quotes. Numbers do not have to be in quotes. Expression Meaning Example = Equals Region = ‘Central’; only the Central Region data is displayed. Not equal Region ‘Central’; all other region data except Central is displayed. Greater than Profit SUM 10000; all Profit SUM items greater than 10000 are displayed. Less than Profit SUM 10000; all Profit SUM items less than 10000 are displayed. = Less than or equal to Profit SUM = 10000; all Profit SUM items less than or equal to 10000 are displayed. = Greater than or equal to Profit SUM = 10000; all Profit SUM items greater than or equal to 10000 are displayed. LIKE Similar to using wildcard matching Name LIKE ‘A’; finds all names beginning with the letter A. The percent sign matches any number of characters. An underscore symbol _ matches a single character. 5-28 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Desktop To create an advanced condition, click the drop-down button to see other options. You can also click the Advanced button for more options. See Chapter 8, Advanced Discoverer Desktop Features for a description of the value options and other advanced features. Figure 5–37 Enter the Condition Values IN Contains one or more values City IN ‘Boston’, ‘Los Angles’, ‘New York’; finds data that contains at least one of the values. IS NULL Contains no data not even zero Commission IS NULL; displays data only when commission has no value. IS NOT NULL Contains some data even zero Commission IS NOT NULL; displays data when commission has any value. NOT IN Is not contained in one or more values City NOT IN ‘Boston’, ‘Chicago’; does not display data that contains Boston or Chicago. BETWEEN A value lies between two values Profit BETWEEN 1000 AND 2000; displays profits greater than or equal to 1000 or less than or equal to 2000. NOT BETWEEN A value lies outside of two values Profits NOT BETWEEN 1000 AND 2000; displays profits less than 1000 or greater than 2000. NOT LIKE Not similar to Name NOT LIKE ‘A’; finds all names not beginning with A. The percent sign matches any number of characters. An underscore symbol _ matches a single character. = and = Not equals Region = ‘Central’; finds all regions except Central. Note: These two expressions have the same meaning because both are supported by SQL programming. Therefore, if you use an SQL programming statement to create a complex conditional value, Discoverer Desktop can recognize it regardless of which expression you use in the program. Expression Meaning Example