Move the object on which you want to base the simple folder from the Available

Creating and Maintaining Folders 6-9 Figure 6–4 Choose Join dialog Note: If you select an item from a simple folder that has a join that conflicts with existing items, Discoverer will display an error and you will not be allowed to add the item.

9. optional Select one or more joins and click OK.

Discoverer creates a complex folder. Notes ■ If you include an item from a simple folder in a complex folder, the new item in the complex folder is not totally independent of the original item. For more information, see About dependencies between folders . How to create custom folders To create a custom folder:

1. On the

Workarea: Data tab , select a business area or any object within a business area. 2. Choose Insert | Folder | Custom to display the Custom Folder dialog . Figure 6–5 Custom Folder dialog

3. Specify the SQL statement on which the custom folder will be based.

6-10 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer You can include comments as separate lines within the SQL statement by starting the comment line with two dash characters - -.

4. Specify the name of the custom folder in the Name field.

5. Click Validate SQL to ensure you have entered valid SQL. 6. Click OK to validate the SQL statement and save the custom folder. Notes ■ To enable you to create custom folders before the underlying database objects have been created or made available, Discoverer Administrator permits you to save a custom folder even if the SQL is invalid. Note that Discoverer end users will not be able to query the database object until the SQL is valid. ■ For examples of SQL statements you might enter, see Examples of custom folders . ■ Where the SQL references multiple database objects, you must define joins between those objects. For more information, see Chapter 10, Creating and Maintaining Joins . ■ Discoverer does not allow you to use the WITH clause in the custom folder SQL How to edit folder properties To edit the properties of a folder:

1.

On the Workarea: Data tab , click the folder to select it. You can select more than one folder by pressing the Ctrl key and clicking another folder. 2. Choose Edit | Properties to display the Folder Properties dialog . Figure 6–6 Folder Properties dialog If you selected multiple folders, the Folder Properties dialog displays a value for each property that has the same value for all of the selected folders. If the value for a particular property is not the same for all of the selected folders, no value is displayed for that property. 3. Make the changes as required.