Create a mapping to filter out discontinued items and generate a unique ID for each row in the fact table. The mapping also finds the number of items that each customer ordered.
In the Designer, switch to the Mapping Designer, and create a mapping.
Name the mapping m_PromoItems.
From the list of target definitions, select the tables you just created and drag them into the mapping.
From the list of source definitions, add the following source definitions to the mapping:
PROMOTIONS
ITEMS_IN_PROMOTIONS
ITEMS
MANUFACTURERS
ORDER_ITEMS
Delete all Source Qualifier transformations that the Designer creates when you add these source definitions.
Add a Source Qualifier transformation named SQ_AllData to the mapping, and connect all the source definitions to it.
Click
View
Navigator
to close the Navigator to allow extra space in the workspace.