Enter a name for the calculation in the What do you want to name this Enter the calculation formula in the Calculation field.
4. Enter a name for the calculation in the What do you want to name this
calculation? field. Hint : Use a short descriptive name, which is displayed on the worksheet. 5. Click Insert Formula from Template to display a pop-up list of pre-defined templates. 17-10 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Plus 6. Choose a template from the pop-up list to display a template dialog for the selected analytic function. 7. Use the template to define the analytic function. For example, if you choose the Rank template, you use the Rank dialog to create the formula. The underlying SQL statement for the analytic function formula is displayed in the Calculation field at the bottom of the template. 8. Click OK to save the analytic function and close the analytic function template. The SQL statement for the analytic function that you created is transferred to the Calculation field. You might want to modify the SQL statement for the analytic function for example, by adding more ORDER BY clauses or by inserting another function into the Calculation field. The Calculation field displays the underlying SQL statement for the analytic function that you defined. Using calculations 17-11 Note : You can subsequently modify the calculation for example, to add more PARTITION BY clauses in any of the following ways: ■ by manually editing the formula in the Calculation field ■ by first deleting the formula in the Calculation field, then clicking Insert Formula from Template and re-creating the formula ■ by clicking Insert Formula from Template and appending a new formula to the existing formula in the Calculation field Note : If you have multiple functions in the Calculation field, you must associate the functions for example, using + or -. 9. Click OK to save the details and close the New Calculation dialog. 10. Click OK to close the Calculations tab and return to the worksheet. Discoverer adds the calculation to the worksheet. Notes ■ You can also create a calculation in the following ways: – If the Available Items pane is displayed, select the New Calculation option on the Available Items toolbar for more information, see Available Items pane . – If the Available Items pane is displayed, display the Calculations tab, right-click on My Calculations, and select New Calculation. ■ For more information about analytic functions, see What are analytic functions? and Examples of using row-based and time-based intervals . ■ To use parameter values in analytic functions to collect dynamic input, you must manually prefix the item name with a : that is, colon character in the Calculation field for more information, see About using parameters to collect dynamic user input . For example, you might create a Band by rank formula based on the Profit SUM item for example, NTILE4 OVER ORDER BY Profit SUM DESC. If you want end users to select the number of bands at run time, you might create a worksheet parameter called Band number. To use the Band number in the Band by rank formula you must manually change the formula to: NTILE:Band number OVER ORDER BY Profit SUM DESC ■ Analytic functions follow the standard Oracle function syntax. For a full description of this syntax, see the Oracle Database SQL Language Reference. How to edit calculations You edit calculations to change the way that they behave. For example, to change a percentage increase calculation from 25 to 30. To edit a calculation: 1. Display the worksheet you want to analyze. 2. Choose Tools | Calculations to display the Edit Worksheet dialog: Select Items tab: Calculations tab .Parts
» Oracle Fusion Middleware Online Documentation Library
» optional Enter a description of the connection in the Connection Description
» Select the language you want to use from the Locale drop down list.
» Select an End User Layer from the End User Layer drop down list.
» Click the trash can icon in the Delete column next to the name of the connection
» In the New Password field, enter a new database password for the current user
» In the Verify Password field, re-enter the new database password for the current
» Select an End User Layer from the End User Layer drop down list. Click Finish.
» The top axis. The left axis. Data points.
» Select the workbook you want to analyze from the Workbooks list.
» Click Open to display the selected workbook or set of results.
» Choose File | Save As. Enter a new name in the New name field.
» Text added to the worksheet title area.
» A text variable that is, Date, which displays the current date.
» Worksheet text. Select the workbook you want to delete from the Workbooks list.
» Use the Title check box to specify whether the worksheet title area is displayed at
» Enter the new name for the worksheet in the Name field. Click OK to save the details.
» optional Use the Find Previous and Find Next buttons to search for other Click Close to close the
» Click Create a workbook to display the
» Select the business area you want to use from the drop down list at the top of the
» Move the folders and items you want to include in the new worksheet from the
» Display the appropriate tab for the properties you want to edit as shown below.
» To remove an item from the worksheet, move the item from the Selected list to the
» Choose Format | Heading to display the
» Horizontal grid line. Click OK to save changes and return to the worksheet.
» The graph legend or key. Notice that the axis labels are underlined that is, linked,
» Display the graph you want to analyze.
» optional To change the default advanced drill options, click Show Advanced to Click OK.
» Select an item from the list. Click OK.
» Select Drill to Detail from the Where do you want to drill to? drop down list.
» Enter a value for each parameter by doing one of the following:
» Deactivate the condition or calculation used with the parameter:
» Click OK to close Edit Worksheet dialog.
» Open the Discoverer workbook containing the worksheet to which you want
» Click New Conditional Format to display the
» Click New Stoplight Format to display the
» Click OK to close the Conditional Formats dialog.
» To activate a condition, move the condition from the Available list to the Selected
» To deactivate a condition, move the condition from the Selected list to the
» A grand total defined on Profit SUM for all regions.
» To display an existing total, move the total from the Available list to the Selected
» To hide an existing total, move the total from the Selected list to the Available list.
» Under Which data point would you like to create a total on?, select the item you
» A grand total for all regions Total for All Values: £320,301.
» Use the Which data point do you want to base your percentage on? drop down
» The percentage values calculated by Discoverer. For example, using the new
» For example, the Video Rental department in the Central region contributes 41 of
» The Group field set to Group Sort.
» Display the worksheet you want to sort. Choose Tools | Sort to display the
» To display an existing calculation, move the calculation from the Available list to
» Enter a name for the calculation in the What do you want to name this
» Use the Click OK to apply the Page Setup options. Open the workbook you want to print.
» Select the Entire Workbook option.
» Follow the on-screen instructions to create the PDF file.
» Display the Oracle Fusion Middleware Online Documentation Library
» If parameters are required for the worksheets that you specify, use the
» Choose File | Scheduling Manager to display the
» Select the scheduled workbook you want to unschedule in the Scheduled
» Click Close to close the Scheduling Manager dialog.
» optional Select the Case sensitive check box to match upper and lowercase
» If the Displayed values list contains the value that you want, select the value from Display the
» select a type from the Type list enter changes in the Edit Type field
» Select the name of a connection name in the Connection column to start
Show more