Click here and type a Label. Using Percentages

Working with Discoverer Desktop 5-17

1.

Select the definition you want to edit on the Totals dialog box. 2. Click the Edit button. The Total dialog box appears Figure 5–25 . Figure 5–25 Total Dialog Box 3. Make the changes you want. 4. Click OK. The totals definition is now edited.

5.4 Using Percentages

A typical data analysis task is to calculate Item percentages. To calculate percentages in Discoverer Desktop, use the Percentages option on the Tools menu. Note: Due to rounding of data, percentages may not add up exactly to 100. The amount of rounding depends on the number of decimal places that you specify for data. Use the Format Data dialog box to set the number of decimal places for your data. 5-18 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Desktop Figure 5–26 Using Percentages on a Crosstab Worksheet Key to Figure 5–26 :

a. On the Worksheet you can see the Percentage Item Percentage of Annual, which

shows the Profit SUM as a percentage of annual profits. b. The Percentage dialog box used to define and edit Percentages.

c. The Item on which the Percentage is calculated.

d. ’Grand Total for each column’ calculates the value as a percentage of the annual

total.. e. The name of the Item as it appears on the Worksheet.

5.4.1 Using the Percentages Tool

To find a percentage with the Percentages tool on the tool bar:

1. Select the column containing the data that you want to use to find percentages.

2. Click the Percentages tool on the tool bar.

The percentage column shows the percentage of each row to the total of all the rows displayed on the table or crosstab. Here are examples of percentages on a Crosstab Worksheet: Working with Discoverer Desktop 5-19 Figure 5–27 A Percentages example on a Crosstab Worksheet Key to Figure 5–27 :

a. Percentage SUM Profit, Region calculates profit for each row in this case City as a

percentage of the Region total, see note c. b. Percentage SUM Profit calculates profit for each row in this case City as a percentage of the annual total for the year 2000.. c. The Percentage dialog box for the item Percentage SUM Profit, Region, showing how the value is calculated as a percentage of the Region total. d. The Percentage dialog box for the item Percentage SUM Profit, showing how the value is calculated as a percentage of the annual total. To display percentages on a table or crosstab: 1. Choose Tools | Percentages. The Percentages dialog box appears. It shows the percentages you’ve already defined. 5-20 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Desktop Figure 5–28 Percentages Dialog Box 2. Select the check box in front of a percentage definition. 3. Click OK. Discover now computes the percentages and displays them on the table or crosstab. To remove the percentages from the data: 1. Choose Tools | Percentages. The Percentages dialog box appears. 2. Clear the check boxes. 3. Click OK to remove the percentages from the data.

5.4.2 Creating a New Percentages Definition

Creating a new percentage definition has four basic steps: ■ Selecting the data item for calculating the percentage. ■ Selecting to calculate the percentage of a total or change in values. ■ Creating a label for the percentage column. ■ Defining the format for the column. To create a new percentage definition: 1. Choose Tools | Percentages. The Percentages dialog box appears Figure 5–28 .

2. Click the New button.

The Percentage dialog box for a new definition appears: