In the Business Model and Mapping layer, create a new logical column. Name the In Expression Builder, select the Ago function to create a template for the Select the first argument, Measure, then use the selection panes to select the base Select the secon
1. In the Business Model and Mapping layer, create a new logical column. Name the
column 2-04 Billed Qty Mago. 2. In the Column Source tab, select Derived from existing columns using an expression and click the Expression Builder button.3. In Expression Builder, select the Ago function to create a template for the
arguments. To do this, select Functions in the Category pane, Time Series Functions in the Functions pane, and Ago in the Time Series Functions pane. Figure 9–13 shows the AGO function in Expression Builder. 9-28 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition Figure 9–13 AGO Function in Expression Builder4. Select the first argument, Measure, then use the selection panes to select the base
measure from which to derive this column. In this example, select Sample Sales.F0 Rev Base Measures.2-01 Billed Qty Sum All.5. Select the second argument, Level, then use the selection panes to select the unit of
the ago offset. It must be defined as a level of the time dimension, so that it can take advantage of the chronological keys built in the time dimension. In this example, select Time Dimensions in the Category pane, HO Time in the Time Dimensions pane, and Month in the HO Time pane. Figure 9–14 shows the Month level in Expression Builder. Figure 9–14 Selecting the Level Argument in Expression Builder 6. Select the third argument, Number of Periods, and enter the size of the offset you want to use for this measure. In this example, type 1. Working with Logical Dimensions 9-297. Click OK in the Expression Builder dialog, then click OK in the Logical Column
dialog. 9-30 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition 10 Managing Logical Table Sources Mappings 10-1 10 Managing Logical Table Sources Mappings Logical table sources define the mappings from a single logical table to one or more physical tables. The physical to logical mapping can also be used to specify transformations that occur between the Physical layer and the Business Model and Mapping layer, as well as to enable aggregate navigation and fragmentation. One logical table source folder exists for each logical table. The folder contains one or more logical table sources. You can also view logical table sources from the Sources tab of the Logical Table dialog. Logical tables can have many physical table sources. A single logical column might map to many physical columns from multiple physical tables, including aggregate tables that map to the column if a query asks for the appropriate level of aggregation on that column. This chapter contains the following topics: ■ Creating Logical Table Sources ■ Defining Physical to Logical Table Source Mappings and Creating Calculated Items ■ Defining Content of Logical Table Sources ■ Working with Parent-Child Settings in the Logical Table Source ■ Setting Up Aggregate Navigation by Creating Sources for Aggregated Fact Data ■ Setting Up Fragmentation Content for Aggregate Navigation Creating Logical Table Sources When you create logical tables and columns by dragging and dropping from the Physical layer, the logical table sources are generated automatically. If you create the logical tables manually, you need to also create the sources manually. You also add new logical table sources when multiple physical tables can be the source of information. For example, many tables could hold information for revenue. You might have three different business units each with its own order system where you get revenue information. In another example, you might periodically summarize revenue from an orders system or a financial system and use this table for high-level reporting. Use the General tab of the Logical Table Source dialog to define general properties for the logical table source. To create a logical table source: 10-2 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition 1. In the Business Model and Mapping layer of the Administration Tool, right-click a logical table and select New Object, then select Logical Table Source. 2. In the Logical Table Source dialog, in the General tab, type a name for the logical table source.3. Click the Add button. In the Browse dialog, you can view joins and select tables
Parts
» Oracle Fusion Middleware Online Documentation Library
» Click OK when you are finished setting preferences.
» Select Set Icon. Oracle Fusion Middleware Online Documentation Library
» Select the appropriate DSN and click OK.
» Click OK. Oracle Fusion Middleware Online Documentation Library
» Without opening a repository, select File Multiuser History.
» In the ODBC Data Source Administrator dialog, click the System DSN tab, and
» In the Select Data Source screen, in the Connection Type field, select the type of
» Click Finish. Oracle Fusion Middleware Online Documentation Library
» In the Administration Tool, select File, then select Import Metadata.
» Provide the Data source name for the primary database. Click OK.
» In the Select Data Source screen, select OracleADF_HTTP for Connection Type.
» Select the objects you want to import in the Available list and move them to the Click Finish.
» In the Database dialog, click the Features tab. In the Features tab, use the information in
» Specify or adjust the properties as needed, then click OK.
» In the Persist connection pool area, click Clear. Click OK.
» To add tables to the display folder, click Add. Then, in the Browse dialog, select Click OK.
» Click OK in the Hierarchy dialog.
» Select View Members. Click Query to display results. When finished, click Close.
» Click OK. Select Create Columns for Alias Table. Then, from the sub-list, select the alias
» Type the text of the hint in the Hint field and click OK.
» In the shortcut menu, select Update Row Count. Click Yes to check out the objects.
» If you want to provide a dynamic list of currency options, create a table in your
» Click OK. Click OK or Cancel to close the Dimensions dialog.
» From the right-click menu, select Create Logical Dimension, then select either
» In the Check Out Objects dialog, click Yes to check out the objects that appear in
» If the values for the source are unique, select the option Select distinct values.
» Click OK. To move a table, in the Name list, select the table you want to reorder. Then, use
» In the Finish Script screen, the complete path and file name appears. Click Finish.
» Click OK, then click OK again to return to the Identity Manager.
» On the General tab, in the Data source definition: Database field, ensure that the
» Click OK. Open the user.sh file. You can find this file at:
» Click Select next to Patch File. Browse to select the patch file you want to apply, Click Finish.
» Select Tools, then select Query Repository. Click Query.
» When you have finished mapping columns between the selected physical tables, Click Finish.
» In the Choose Directory dialog, click Browse to locate and select the location Click OK.
» To remove the selected objects, click Yes.
» Repository initialization blocks only In the Schedule area, select a start date and
» In the [Repository|Session] Variable Initialization Block dialog, click Edit Data
» Click Edit Data Target. Click OK.
» Check out the branch project using File Multiuser Checkout. You can check
Show more