Click the date hierarchy template on the Hierarchies page and choose Edit |

Creating and Maintaining Hierarchies 13-13 Figure 13–15 The Impact dialog The Impact dialog enables you to review the other EUL objects that might be affected when you delete a hierarchy or hierarchy template. Note: The Impact dialog does not show the impact on workbooks saved to the file system that is, in .dis files.

b. optional Select a row to view text at the bottom of the list, indicating what

affect the current action will have on the EUL object.

c. When you have finished reviewing the impact of deleting the hierarchy or

hierarchy template, click Close to close the Impact dialog.

4. Click Yes to delete the selected hierarchies or hierarchy templates.

How to modify default date hierarchies that use date format ’RR’ following upgrade to Oracle Business Intelligence Discoverer Administrator After upgrading to Oracle Business Intelligence Discoverer Administrator, if a date format in a default date hierarchy uses the date format ’RR’ you must modify it to ’YYYY’ and then remove any affected date items that is, date items that use the ’RR’ date format from the business area. This action is necessary to ensure that materialized views can be successfully created for more information about materialized views, see What are materialized views? . To modify a default date hierarchy that uses the date format ’RR’ so that it uses ’YYYY’ you must complete the following tasks: ■ Modify default date hierarchy replacing the date format ’RR’ with ’YYYY’ ■ Remove remaining date items that use the date format ’RR’ Modify default date hierarchy replacing the date format ’RR’ with ’YYYY’ To modify a default date hierarchy to use the date format ’YYYY’:

1. Click the

Workarea: Hierarchies tab .

2. Expand Date hierarchy templates then highlight the default date hierarchy that

uses the date format ’RR’. 13-14 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer 3. Choose Edit | Edit... to display the Edit Hierarchy dialog: Name tab . 4. Click the Edit Hierarchy dialog: Items tab select date items that will use this date hierarchy and replace each ’RR’ date format with a ’YYYY’ date format. Note: Repeat the above steps for each affected default date hierarchy. 5. Click OK to save your changes. After you apply the ’YYYY’ format to the affected default date hierarchy, you can remove remaining date items that use the date format ’RR’. Remove remaining date items that use the date format ’RR’ To remove date items that use the date format ’RR’:

1.

Click the Workarea: Data tab . 2. Highlight a date item that uses the date format ’RR’. 3. Choose Edit | Delete to delete the affected date item. 4. Repeat the above steps for each date item that still uses the date format ’RR’. About creating a hierarchy using the CONNECT BY clause in a custom folder A database table might contain a recursive hierarchy, that is where a relationship exists between different records in one table. This form of hierarchy is not unlike a series of self joins and it cannot be used directly by Discoverer sometimes described as a value hierarchy. However, you can make Discoverer use a recursive hierarchy if you create a custom folder and use the CONNECT BY clause. For example, if you look at the emp table in the Scott schema supplied with Oracle databases, some of the numbers appear in both of the columns empno and mgr. The numbers appear in both columns because an employees manager is identified by the employee number. This illustrates how a recursive hierarchy exists in the emp table. The table below illustrates the relationships that exist between rows in the columns empno, ename and mgr from the emp table. EMPNO ENAME MGR 7369 SMITH 7902 7499 ALLEN 7698 7521 WARD 7698 7566 JONES 7839 7654 MARTIN 7698 7698 BLAKE 7839 7782 CLARK 7839 7788 SCOTT 7566 7839 KING 7844 TURNER 7698 7876 ADAMS 7788 7900 JAMES 7698