optional Edit the Properties of the new condition and set the Visible to user

13

Creating and Maintaining Hierarchies 13-1

13

Creating and Maintaining Hierarchies This chapter explains how to implement and maintain hierarchies using Discoverer Administrator, and contains the following topics: ■ What are hierarchies? ■ What are item hierarchies? ■ What are date hierarchies? ■ How to create item hierarchies ■ How to create date hierarchies and templates ■ How to edit item hierarchies ■ How to edit date hierarchy templates ■ How to apply a date hierarchy template to a date item ■ How to set the default date hierarchy template ■ How to delete item hierarchies or date hierarchy templates ■ How to modify default date hierarchies that use date format ’RR’ following upgrade to Oracle Business Intelligence Discoverer Administrator ■ About creating a hierarchy using the CONNECT BY clause in a custom folder ■ How to create a hierarchy with a custom folder and the CONNECT BY clause, using the emp table from the scott schema What are hierarchies? Hierarchies are default drill paths between items that you define in Discoverer Administrator. You create hierarchies between items in a business area to provide Discoverer end users with a default drill hierarchy. There are two kinds of hierarchy: ■ item hierarchies ■ date hierarchies Discoverer end users can use hierarchies to: ■ drill up to a more general level of detail for example, Store to City to Region to Country ■ drill down to a finer level of detail for example, Country to Region to City to Store 13-2 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer Hierarchies can link items in a business area where no relationship is defined in the database. For more information about business areas, see Chapter 5, Creating and Maintaining Business Areas . What are item hierarchies? Item hierarchies are relationships between items other than dates. An example of an item hierarchy: Figure 13–1 Sales item hierarchy The Sales item hierarchy links a country with its regions, cities and stores. To use this hierarchy a Discoverer end user could use a report that shows sales from a country perspective. The Discoverer end user could then drill down from country to see sales per region, sales per city or sales per store, and then drill back up to the country level. The Sales item hierarchy from a Discoverer end user perspective is shown below. Figure 13–2 Sales item hierarchy - Discoverer end user perspective The figure below shows the Sales item hierarchy from a database perspective.