Click OK. Oracle Fusion Middleware Online Documentation Library

2-10 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Enterprise Edition editing enables you to present analysis results in a variety of ways. For example, suppose that you want to perform what-if analysis and show what the revenue might be by product if you increased revenue by 10. You can see this increase by changing the formula for the Revenue column to show the revenue increased by 10. Figure 2–2 shows an analysis in a pivot table that includes the Revenue column which shows the revenue in the data source and the Revenue Increased by 10 column, where the formula for the Revenue column was edited to calculate revenue increased by 10. Figure 2–2 Analysis Showing Revenue and Revenue Increased by 10 To edit the formula of a column: 1. In the Selected Columns pane , click the Options button beside the column whose formula you want to edit and select Edit Formula. The Edit Column Formula dialog is displayed. 2. Use the Edit Column Formula dialog: Column Formula tab to perform various tasks such as creating customized headers and creating or editing the formula for the column. You can build a simple mathematical formula using operator and character buttons, such as Base Facts.1-Revenue1.10. 3. Optionally, use the Edit Column Formula dialog: Bins tab to combine values for the column into sets.

4. Click OK.

The column formula is saved with the analysis with which it is used. Related Topics What Are Analyses? Specifying the Criteria for Analyses Combining Columns Using Set Operations After you have selected a subject area for an analysis, you can combine columns from one or more subject areas using Set operations such as Union or Intersect. By combining columns, you create a new column for displaying the data in a different way. Guidelines for Selecting Columns to Combine When selecting columns to combine, keep the following guidelines in mind: Creating Analyses 2-11 ■ The number and data types of the columns to combine must be the same. The number of rows that are returned for each column can differ. ■ You can select columns from the same subject area or from a different subject area, but the columns must have some commonality. ■ You can specify one Set operation for one collection of criteria. For example, if you create criteria from the A-Sample Sales subject area, you can apply only one Set operation to those columns. You cannot apply different Set operations to different columns in the collection of criteria. ■ You cannot use hierarchical columns, selection steps, or groups when you combine criteria. Difference Between Combining Columns Using Set Operations and Adding Columns from Related Subject Areas Combining columns using Set operations produces different results than adding columns from related subject areas: ■ When you combine columns using Set operations, the analysis results show a single newly combined column governed by a Set operation. For example, see Example: Combining Columns from One Subject Area . ■ When you add columns from related subject areas to an analysis, the results show each added column individually. For example, if you have the appropriate permissions, then you can create an analysis by selecting one column from a primary subject area and selecting another column from a related subject area. Figure 2–3 shows a table with columns from related subject areas. The Revenue measure is stored in the A-Sample Sales subject area and the Quota Amount measure is stored in the B-Sample Quotas Subject Area. 2-12 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Enterprise Edition Figure 2–3 Measure Columns from Related Subject Areas For information, see What Are Subject Areas and Columns? Example: Combining Columns from One Subject Area The A-Sample Sales subject area contains the Offices folder, which contains the D1 Office and D2 Department columns. You can combine these two columns and create a new column called Offices Departments. You can include the Union All Set operation to specify that this new column shows all the values from both columns in a single column in a table. Combining Columns from One or More Subject Areas The following procedure describes how to combine columns from one or more subject areas. Some steps include references to the example of creating the Offices Departments column with the A-Sample Sales subject area. Note: Data formatting that has been saved as the systemwide default for a column is not reflected in a combined column. If you want the data formatting in the combined column, then you must reapply it to the combined column. For more information on data formatting, see Column Properties dialog: Data Format tab . Creating Analyses 2-13 To combine columns from one or more subject areas: 1. In the Analysis editor, create an empty analysis that uses a subject area such as A-Sample Sales. 2. In the Criteria tab, select the columns to include in the analysis. For example, select D1 Office from the Offices folder and 1-Revenue from the Base Facts folder. 3. In the Selected Columns pane , click the Combine results based on union, intersection, and difference operations toolbar button to display the Select Subject Area menu. 4. Select a subject area that contains the columns to combine with the columns that you have previously included. For example, click A-Sample Sales. The Set Operations area is displayed in the Selected Columns pane. Note the boxes with dotted line borders that are displayed below the criteria. These boxes indicate the kind of column that you must combine with those that you have previously included. For example, the boxes might include Add Column D1 Office and Add Column 1-Revenue. This text indicates that the columns that you include in each of those boxes is combined with the previously selected D1 Office and 1-Revenue columns using a Set operation to form a new column. When you combine measure columns, no arithmetic operations are performed. 5. In the Subject Areas pane, select the columns to combine with the originally selected columns. For example, from the Offices folder, select D2 Department and from the Base Facts folder, select 1-Revenue. Note that the boxes that previously had dotted line borders now hold the columns that you have just selected. You have now specified the columns to combine.

6. Click the Union button under the Result Columns link. Select the operation type