Click OK in the Query Repository Filter dialog for the subquery condition. This In the Query Repository Filter dialog for the main query, click the Item field in the Select OR from the Operator list. Click OK to return to the Query Repository dialog. The

16-24 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition

3. Click the ellipsis button to the right of the Value field, and in the list, choose Select

object . 4. In the Select dialog, select the business model by which you want to filter, and then click Select. Your selection appears in the Value field.

5. Click OK to return to the Query Repository dialog. The filter appears in the box to

the left of the Filter button. 6. Click Query. The Results list shows the databases referenced by the business model you selected. Example 16–2 Viewing All Presentation Columns Mapped to a Logical Column The following example shows how to create a filter that lets you view all presentation columns mapped to a particular logical column.

1. In the Query Repository dialog, select Presentation Column from the Type list,

and then click Filter. 2. In the Query Repository Filter dialog, click the Item field, and then select Column. 3. Click the ellipsis button to the right of the Value field, and in the list, choose Select object . 4. In the Select dialog, select the column by which you want to filter, and then click Select . Your selection appears in the Value field. 5. Click OK to return to the Query Repository dialog. The filter appears in the box to the left of the Filter button.

6. Click Query. The Results list shows the presentation columns mapped to the

logical column you selected. Example 16–3 Nested Queries The following example shows nested queries, where the filter itself is another query.

1. In the Query Repository dialog, select Logical Column from the Type list, and

then click Filter. 2. In the Query Repository Filter dialog, click the Item field, and then select Related to .

3. Click the ellipsis button to the right of the Value field, and in the list, choose Set

Condition for Physical Column .

4. In the new Query Repository Filter dialog, click the Item field, and then select

Source column .

5. Click the ellipsis button to the right of the Value field, and in the list, choose Select

Object . 6. In the Browse dialog, select a source physical column for example, Column A and click Select.

7. Click OK in the Query Repository Filter dialog for the subquery condition. This

subquery queries all aliases for the source column you selected.

8. In the Query Repository Filter dialog for the main query, click the Item field in the

next row and then select Related to. 9. Click the ellipsis button to the right of the Value field, and in the list, choose Select Object . Managing Oracle BI Repository Files 16-25 10. In the Browse dialog, select the same source physical column for example, Column A and click Select.

11. Select OR from the Operator list.

12. Click OK to return to the Query Repository dialog. The filter appears in the box to

the left of the Filter button. 13. Click Query. The Results list shows a list of logical columns related to either Column A, or aliases of Column A. Querying Related Objects The Query Related Objects feature enables you to query objects related to one or more objects that you select from the Physical, Business Model and Mapping, or Presentation layer. You can only use this feature with objects selected from the same layer. For example, you cannot query objects related to both a Physical layer object and a Business Model and Mapping layer object. To query objects related to a selected object: 1. In the Administration Tool, open your repository. 2. Select one or more objects from a single layer for example, a set of logical columns from the Business Model and Mapping layer. The objects you select must all be of the same type.

3. Right-click the objects and select Query Related Objects.

4. From the right-click submenu, select an object type to narrow your search to a particular type of object, or select All Types to query all objects related to your source objects. If you have previously made queries for this source object type, the three most recent queries are available at the top of the submenu. After you select an object type, the Query Related Objects dialog is displayed, showing the objects related to your source objects in the Name list. Table 16–6 lists the options available in the Query Repository dialog. Table 16–6 Query Related Objects Options Option Description Mark Select one or more objects in the Name list and click Mark to mark the selected objects. To unmark the objects, select them and click Mark again. Marking objects makes them easier to visually identify as you develop metadata. Set Icon Select one or more objects in the Name list and click Set Icon to select a different icon for the objects. You can set special icons for objects to help visually identify them as having common characteristics. For example, you might want to pick a special icon to identify columns that will be used only by a certain user group. To change the icons back to the original icons, select the objects and click Set Icon again. Then, select Remove associated icon and click OK. 16-26 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition Changing the Repository Password Each repository has a password that is used to encrypt its contents. You create the repository password when you create a new repository file, or when you upgrade a repository from a previous release of Oracle Business Intelligence. You can change the repository password using the Administration Tool in offline mode. You cannot change the repository password when the repository is open in online mode. After you change the repository password in the Administration Tool, you must also publish the updated repository and specify the new password in Fusion Middleware Control. Specifying the repository password in Fusion Middleware Control enables the password to be stored in an external credential store, so that the Oracle BI Server can retrieve it to load the repository. To change the repository password in the Administration Tool and Fusion Middleware Control: 1. Open the repository in the Administration Tool in offline mode.

2. Select File, then select Change Password.