Creating a Fact Table
Perform this procedure to create a fact table in the data mart database.
Create a fact table
- On the DWD Designer main menu, click Design > Create a New > Fact Table.
- Type a name for the fact table.
- Select the fact table composer.
-
Ensure that the following radio buttons are selected:
-
Fact table
-
Table
-
- Click Column Mapping.
- Select the columns you want to include in the fact table. Click OK.
- Right-click the fact table you created, then click Fact Table Wizard.
-
On the Fact Table Wizard window, ensure that the following
checkboxes are selected:
-
Verify dimension references and relations
Categorize Measures
Click Next.
-
Click Next.
-
- Select the columns for measures.
-
Ensure that you selected View > Property Options (ETL)
> Full Refresh in the Object Properties window.
Click OK.
Note:Do not select dimension keys.
Extra columns are created by the wizard. These columns are used to record data about the fact table and would not be used for measures.
-
Compile the tables.
- Right-click a table, then click Compile.
- Click the Start button.