In the Physical Table column, select the table that contains the column you want In the Expression column, select the physical column corresponding to each To open Expression Builder, click the Expression Builder button.

Managing Logical Table Sources Mappings 10-5 To map logical columns to physical columns: 1. In the Business Model and Mapping layer of the Administration Tool, double-click a logical table source. 2. In the Logical Table Source dialog, click the Column Mapping tab. 3. In the Column Mapping tab, maximize or enlarge the dialog to show all the contents, as shown in Figure 10–2 . In the Column Mapping tab, in the Logical column to physical column mapping area, you can sort the rows toggle among ascending order, descending order, and then restore original order by clicking a column heading. Figure 10–2 Column Mapping Tab of Logical Table Source Dialog

4. In the Physical Table column, select the table that contains the column you want

to map. When you select a cell in the Physical Table column, a list appears. It contains a list of tables currently included in this logical table source.

5. In the Expression column, select the physical column corresponding to each

logical column. When you select a cell in the Expression column, a list appears. It contains a list of physical columns currently included in this logical table source.

6. To open Expression Builder, click the Expression Builder button.

All columns used in creating physical expressions must be in tables included in the logical table source. You cannot create expressions involving columns in tables outside the source. You can use Expression Builder to create calculated items, in which formulas are applied pre-aggregation. For example, to create the measure tons sold using the columns units_sold and unit_weight, you apply a pre-aggregation formula fact.units_soldproduct.unit_weight, and then apply the aggregation rule SUM in 10-6 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition the measure object. Another example is using CAST to transform a column of type TIMESTAMP to type DATE for faster display in Answers and other clients for example, CASTDB..TABLE.COL AS DATE. You can also conform sources by creating expressions that perform transformations on physical data. For example, you can use the CAST function to transform a column with a character data type to an integer data type, to match data coming from a second logical table source. Other examples include using CONCATENATE or math functions to make similar transformations on physical data. See Creating Derived Columns for calculations that need to occur post-aggregation.

7. To remove a column mapping, click the Delete button. You might need to scroll to