Beruflich Dokumente
Kultur Dokumente
2. In the Business Model dialog box, name the business model SH and leave the Available for queries
box unchecked. The Description edit box is used to add a comment for yourself or another developer.
Leave it empty.
3. Click OK to close the Business Model dialog. The new SH business model appears in the Business
Model and Mapping layer. The red symbol on the business model indicates it is not yet enabled for
querying. You enable the business model for querying later after the Presentation layer is defined and
the repository passes a global consistency check.
2. In the Logical Table dialog box, name the table Sales Facts.
3. Click OK to close the Logical Table dialog. The Sales Facts logical table appears in the SH business
model in the Business Model and Mapping layer. The Sources folder is populated in the next step
when you create a logical column.
3. Drag the AMOUNT_SOLD column from the Physical layer to the Sales Facts logical table in the
Business Model and Mapping layer. A new AMOUNT_SOLD logical column is added to the Sales
Facts logical table.
4. Expand the Sources to see the logical table source that was created automatically when you
dragged the AMOUNT_SOLD column from the Physical layer. Logical table sources define the
mappings from a logical table to a physical table. A logical tables Sources folder contains the logical
table sources. Because you dragged a column from the Physical layer, the logical table source name,
SALES, is the same name as the physical table. However, it is possible to change names in the
Business Model and Mapping layer without impacting the mapping.
5. In the Business Model and Mapping layer, double-click the AMOUNT_SOLD logical column to open
the Logical Column dialog box.
8. Click OK to close the Logical Column dialog box. Notice that the logical column icon is changed to
indicate an aggregation rule is applied.
2. Drag the selected tables from the Physical layer onto the SH business model folder in the Business
Model and Mapping layer. This automatically creates logical tables in the Business Model and
Mapping layer. Notice that each logical table has a yellow table icon. In the Business Model and
Mapping layer, this indicates a fact table. Because you have not yet created the logical joins, all table
icons are yellow. The icon color for dimension tables changes to white in a later step when you create
logical joins.
3. Right-click the SH business model and select Business Model Diagram > Whole Diagram.
4. Rearrange the table icons so they are all visible. Place the Sales Facts table in the middle. Adjust
the zoom factor, if desired.
6. Click the Channels table icon first and then click the Sales Facts table icon in the Logical Table
Diagram window. The order is important. The second table clicked is the many side of the relationship.
The Logical Join dialog box opens. Leave the default values as they are, but note which properties
you can set: name, business model, tables, driving table, join type, and cardinality. Also note which
7. Do not change the default values, click OK, and verify your work in the Logical Table Diagram.
Notice that the fact table, Sales Facts, is at the many end of the join:
9. Click the X in the upper right corner to close the Logical Table Diagram. Notice that the color of the
table icons for the dimension tables has changed to white in the business model. In a business model,
a yellow icon indicates a fact table and a white icon indicates a dimension table. Defining the join
relationships determined which tables are the logical dimension tables and which is the logical fact
table. A fact table is always on the many side of a logical join. You now have a logical star schema
consisting of one logical fact table, Sales Facts, and five logical dimension tables: Channels,
Customers, Products, Promotions, and Times.
2. In the Utilities dialog box, click Rename Wizard and then Execute.
3. In the Rename Wizard, click the Business Model and Mapping tab and select the SH business
model.
8. Click Next.
9. Select All text lowercase.
2. Right-click either of the highlighted columns and select Delete to delete the columns. Alternatively,
you can use the Delete key on your keyboard.
4. Verify that the Channels logical table now has only four logical columns.
5. Repeat the steps to delete the following logical columns in the Customers table:
Cust City ID
Cust State Province ID
Country ID
Cust Main Phone Number
Cust Total ID
Cust Src ID
Cust Eff From
Cust Eff To
Cust Valid
6. Place the cursor over the icon to display the screenshot and verify that the Customers logical table
has only the following logical columns:
7. Place the cursor over the icon to display the screenshot and repeat the steps to delete the
highlighted logical columns in the Products table.
8. Place the cursor over the icon to display the screenshot and verify that the Products logical table
has only the following logical columns:
9. Place the cursor over the icon to display the screenshot and repeat the steps to delete the
highlighted logical columns in the Promotions table.
10. Place the cursor over the icon to display the screenshot and verify that the Promotions logical
table has only the following logical columns:
2. Right-click the ChannelsDim object, which was created by the action in the previous step, and
select Expand All.
3. Place the cursor over the icon to display the screenshot and verify that the ChannelsDim dimension
hierarchy matches the picture.
4. Right-click the Channels Detail level and select New Object > Parent Level.
5. In the Logical Level dialog box, name the logical level Class and set the Number of elements at this
level to 3. This number does not have to be exact. The ratio from one level to the next is more
important than the absolute number. These numbers only affect which aggregate source is used
(optimization, not correctness of queries).
6. Click OK to close the Logical Level dialog box. The new Class level is added to the hierarchy.
8. Drag the Channel Class column from the Channel Detail level to the Class level to associate the
logical column with this level of the hierarchy.
10. In the Logical Level Key dialog box, verify that Channel Class and Use for drilldown are selected.
The level key defines the unique elements in each logical level. Each level key can consist of one or
more columns at this level.
12. Right-click the Class level and select New Object > Parent Level.
13. In the Logical Level dialog box, name the logical level Channel Total Attribute and set the Number
of elements at this level to 1.
14. Click OK to close the Logical Level dialog box. The Channel Total Attribute level is added to the
hierarchy.
15. Right-click the Channel Total Attribute level and select Expand All.
16. Drag the Channel Total column from the Channel Detail level to the Channel Total Attribute level.
17. Right-click Channel Total and select New Logical Level Key.
18. In the Logical Level Key dialog box, verify that Channel Total and Use for drilldown are selected.
20. Right-click the Channel Desc column and select New Logical Level Key.
21. In the Logical Level Key dialog box, notice that Use for drilldown is selected.
22. Click OK to close the Logical Level Key dialog. Both Channel Desc and Channel ID display with
key icons.
23. Double-click the Channels Detail level to open the Logical Level dialog box.
27. In the Logical Level Key dialog box, uncheck Use for drilldown.
28. Click OK to close the Logical Level Key dialog box. Notice that the key icons are different. Channel
Desc is used for drill down Channels Detail_Key is not. Later, when a user drills down in Answers or a
dashboard, the default drill is to the level key that has Use for drilldown checked in the next lowest
level. Based on this example, when a user drills down from the Channel Class column (the next
highest level), the default is to drill down to the Channel Desc column, not the Channels Detail_Key
column.