Exercise: Add Customer Type
Create the Customer Type field and add it to the MDW.
Steps:
- Right click the Customer table in the DSA Data Warehouse and select Add Field
- Type CustomerType in the Field name box and click OK button
- Expand Customer table and right click the CustomerType field and select Field Transformations
- Select Fixed value in the Operator drop-down box of the Field Transformations pane
- Type Reseller in the Value box and click Add button
- Type Retail Customer in the Value box and click Add button
- Right click the Field Transformation Fixed value Reseller and select Add Condition
- Click the field StoreID in the Conditions pane, select Is not empty in the Operator drop-down box and click Add button
- Right click the Field Transformation Fixed value Retail Customer and select Add Condition
- Click the field StoreID in the Conditions pane, select Is empty in the Operator drop-down box and click Add button
- Click the Customer table in the MDW Data Warehouse and drag the CustomerType field from the Data Movement pane on to the Customer table name.
- Deploy and Execute the project using option Only modified tables and views
Note: Video is free of audio