Select the folder that you want to contain the new calculated item on the

Creating and Maintaining Calculated Items 11-9 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 item, click Close to close the Impact dialog. 4. Click Yes if you still want to delete the selected items. How to create a calculated item that enables end users to drill out from one worksheet to display another worksheet in Discoverer Viewer You might want to create a worksheet that end users can drill out from, to display additional or related information in another worksheet in Discoverer Viewer. You can create a calculated item in Discoverer Administrator that includes an internet address a URL, and include the same item in a worksheet. End users can click the item to display a pre-defined Discoverer Viewer worksheet. To create a calculated item that enables end users to drill out from one worksheet the source to display another worksheet the target in Discoverer Viewer:

1.

Create the target worksheet in Discoverer Plus or Discoverer Desktop and save it to the database. This is the pre-defined worksheet that end users will drill out to, from the source worksheet. For more information about creating worksheets, see the Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Plus. Note: If you want the target worksheet to display context-sensitive information that is, information related to the source worksheet row or column that end users drill out from, the target worksheet must use a method of filtering the data for example, parameters or page items. 2. Use Discoverer Viewer to display the target worksheet that you created in Step 1. 3. Copy the URL of the target worksheet onto the clipboard. You will paste the URL of the target worksheet into a new calculated item in Discoverer Administrator, and then modify the formula of the calculated item. 4. Display the New Item dialog in Discoverer Administrator see, How to create calculated items . You will use the new calculated item in the source worksheet to drill out to the target worksheet in Discoverer Viewer.

5. Paste the URL that you copied onto the clipboard into the Calculation field of

the New Item dialog . You must now edit the URL in the new calculated item and replace each parameter value with its corresponding EUL item name. The EUL items supply the dynamic value that are used by the parameters in the target worksheet.

6. In the Calculation field of the

New Item dialog , enter a single quotation mark ’ at the beginning and at the end of the URL. For example: 11-10 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer http:mymachine.comdiscovererviewer?cn=cf_ a208pg=1wbk=PARAMETERSwsk=26qp_myRegion=CENTRAL Using single quotation marks enables Discoverer to treat the text of an URL correctly.

7. Edit the formula in the Calculation field to replace each parameter value in the

URL with its corresponding EUL item name. For example, if the target worksheet uses a parameter named myRegion that represents the EUL item Region, the URL that you paste into the Calculation field might appear as follows: http:mymachine.comdiscovererviewer?cn=cf_ a208pg=1wbk=PARAMETERSwsk=26qp_myRegion=CENTRAL To replace part of the URL with a value determined from an EUL item, use the syntax ’||ItemName||’. For example, in the URL above you might replace the value CENTRAL as follows: http:mymachine.comdiscovererviewer?cn=cf_ a208pg=1wbk=PARAMETERSwsk=26qp_myRegion=||Region|| Where Region is the corresponding EUL item that dynamically supplies the value required by the myRegion parameter in the target worksheet. Note: You use single quotation marks and the || operator to correctly build the resulting URL.

8. Enter a suitable name for the new calculated item in the Name field.

For example, you could name the new calculated item Drill_to_myRegion. 9. Click OK to close the dialog and save your changes. 10. In the Workarea: Data tab, highlight the calculated item you just created and choose Edit | Properties. Discoverer displays the Item Properties dialog for the calculated item you just created.

11. Click the Content Type attribute and choose FILE from the drop down list.

The Content Type attribute tells Discoverer to launch another application. In this case, Discoverer Plus, Discoverer Desktop or Discoverer Viewer will launch a Web browser to display the target worksheet in Discoverer Viewer. 12. Click OK to close the dialog and apply the changes you have made. 13. Start a new Discoverer Plus session or reconnect to Discoverer Desktop. 14. Create a worksheet the source worksheet in Discoverer Plus or Desktop and include the Drill_to_myRegion calculated item that you just created in Discoverer Administrator in the worksheet. For more information about creating worksheets, see the Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Plus. When an end user displays this source worksheet in Discoverer Plus, Discoverer Desktop or Discoverer Viewer, they can click the Drill_to_myRegion calculated item that you just created to display the target worksheet in Discoverer Viewer. The context-sensitive value for the EUL item Region is dynamically passed to the target worksheet using the myRegion parameter to display the correct results data. The example URL used in this task can be broken down into the following components: