Normalizer Transformation.pdf

54
Informatica Power Center 9.0.1 Building Financial Data Mode - Lab#15 Hands-on Guide on NORMALIZER TRANSFORMATION Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Guide for building financial data model in Informatica. The document focuses on how the real world requirement should be interpreted. The mapping document template with very simplified steps and screen shots makes the complete learning so easy. The document focuses on Normalizer Transformation. Join our professional training program and learn from experts. History: Version Description Change Author Publish Date 0.1 Initial Draft Upendra Upadhyay 12th Aug 2011 0.1 Review#1 Amit Sharma 18 th Aug 2011 www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 1

Transcript of Normalizer Transformation.pdf

Page 1: Normalizer Transformation.pdf

Informatica Power Center 9.0.1

Building Financial Data Mode - Lab#15

Hands-on Guide on NORMALIZER TRANSFORMATION

Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Guide for building financial data model in Informatica. The document focuses on how the real world requirement should be interpreted. The mapping document template with very simplified steps and screen shots makes the complete learning so easy. The document focuses on Normalizer Transformation. Join our professional training program and learn from experts.

History:Version Description Change Author Publish Date0.1 Initial Draft Upendra Upadhyay 12th Aug 20110.1 Review#1 Amit Sharma 18th Aug 2011

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 1

Page 2: Normalizer Transformation.pdf

TABLE OF CONTENTS

S.NO TITLE PAGE. NO.

1 Introduction. 3-5

2 Creating Repository & Folder . 6-9

3 Import Data Source and Target Model. 10-15

4 Create Mapping and Defining Normalizer Transformation . 16-39

5 Create Workflow . 40-44

6 Workflow Monitor & Review data. 45-50

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 2

Page 3: Normalizer Transformation.pdf

Normalizer Transformation in Informatica.

We can filter rows in a mapping with the Filter transformation. We pass all the rows from a source transformation through the Filter transformation, and then enter a Filter condition for the transformation. All ports in a Filter transformation are input/output and only rows that meet the condition pass through the Filter Transformation

DescriptionA Source Qualifier Transformation.

• Used Oracle 11g as a source database

• Used Oracle 11g as a target database.

Source Model

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 3

Introduction

Page 4: Normalizer Transformation.pdf

DIM_Customer Table

DIM_Products Table

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 4

Page 5: Normalizer Transformation.pdf

DIM_Store Table

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 5

Page 6: Normalizer Transformation.pdf

DIM_Employee Table

DIM_Supplier Table

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 6

Page 7: Normalizer Transformation.pdf

FACT_Retail_Sales

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 7

Page 8: Normalizer Transformation.pdf

Target Model

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 8

Page 9: Normalizer Transformation.pdf

Creating Repository & Connecting it.

Step-1 First create repository, Click on Start -> All Programs -> Informatica 9.0.1 -> Client -> Power Center Client -> Power Center Repository Manager.

Step-2 Then click on Repository Menu and click on Add Repository.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 9

Creating Repository and Folder

Page 10: Normalizer Transformation.pdf

Step-3 Give information like Repository Name and Username. Then click on ok button and repository created successfully.

Step-4 Now connect repository. Right click on newly created repository and click on connect.

Step-5 Give Username & password and click on Connect.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 10

Page 11: Normalizer Transformation.pdf

Creating Folder.

Step-1 Go to Informatica Power Center Repository Manager and click on Folder Menu and click on Create.

Step-2 Specify Name of Folder, Description, Owner, OS Profile, Options, Status and got to permissions tab.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 11

Page 12: Normalizer Transformation.pdf

Step-3 This is permission tab to give permission for this folder.

Step-4 This is newly created Folder

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 12

Page 13: Normalizer Transformation.pdf

Step-1 Click on Start -> All Programs -> Informatica 9.0.1 -> Client -> Power Center Client -> Power Center Designer..

Step-2 Then Connect to Repository in Informatica Power Center Designer Right click on repository name and click on Connect.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 13

Importing Source and Target Table

Page 14: Normalizer Transformation.pdf

Step-3 Go to Tools Menu and click on Source Analyzer to import source table. And then go to Sources Menu in Informatica Power Center Designer.

Step-4 And then select Source menu and click on Import from database

Step-5 Specify Username, Owner name, password and then connect. Then select source table and click OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 14

Page 15: Normalizer Transformation.pdf

Step-6 View data in source analyzer, Right click on Store Table and select Preview Data.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 15

Page 16: Normalizer Transformation.pdf

Step-7 Specify Username and Password and connect it. Then Close it.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 16

Page 17: Normalizer Transformation.pdf

Step-8 Apply Step-6 to Step-7 to view data of all table. Step-9 Now click on Target Designer.Step-10 And then select Target menu and click on Import from database to import target table.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 17

Page 18: Normalizer Transformation.pdf

Step-11 Specify Username, Owner name, password and then click on connect and then select table and then OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 18

Page 19: Normalizer Transformation.pdf

Step-12 To view data select table and Right click on the table and select Preview Data.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 19

Page 20: Normalizer Transformation.pdf

Step-13 Specify Username and Password and connect it.

Step-14 Apply step 12 - 13 to view all target table data.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 20

Page 21: Normalizer Transformation.pdf

Step-1 Go to Mapping Designer and Create New Mapping and then name of mapping and click OK.

Step-2 Then drag and drop source and target table in Mapping Designer.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 21

CREATE MAPPING AND DEFINIGN NORMALIZER TRANSFORMATION

Page 22: Normalizer Transformation.pdf

Step-3 Then Create transformation, First Create Source Qualifier Transformation for (Customer, Customer_Type, Region and Territory).

Step-4 Select Table.

Step-5 This is Source Qualifier Transformation for Customer, Customer_Type, Region and Territory table.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 22

Page 23: Normalizer Transformation.pdf

Step-6 Then Create Normalizer Transformation, Select Normalizer Transformation and Drop into Mapping Designer Window.

Step-7 Then Right click on Normalizer table and select Edit.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 23

Page 24: Normalizer Transformation.pdf

Step-8 Then go to Normalizer tab, add column, specify name, data type. and then click Apply and OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 24

Page 25: Normalizer Transformation.pdf

Step-9 Then apply mapping for Source Qualifier to Normalizer table for Input column and output column to Target Table column.

Step-10 Then, Create Source Qualifier Transformation for (Brand, Category, Packaging, Products).

Step-11 Select Table.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 25

Page 26: Normalizer Transformation.pdf

Step-12 This is Source Qualifier Transformation for Brand, Category, Packaging and Products table.

Step-13 Then Create Normalizer Transformation. Select Normalizer Transformation and Drop into Mapping Designer Window.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 26

Page 27: Normalizer Transformation.pdf

Step-14 Then Right click on Normalizer table and select Edit.

Step-15 Then go to Normalizer tab, add column, specify name, data type. and then click Apply and OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 27

Page 28: Normalizer Transformation.pdf

Step-16 Then apply mapping for Source Qualifier to Normalizer table for Input column and output column to Target Table column.

Step-17 Then Create Source Qualifier Transformation for (Store, Store_Region).

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 28

Page 29: Normalizer Transformation.pdf

Step-18 Select Table.

Step-19 This is Source Qualifier Transformation for Store and Store_Region table.

Step-20 Then Create Normalizer Transformation. Select Normalizer Transformation and Drop into Mapping Designer Window.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 29

Page 30: Normalizer Transformation.pdf

Step-21 Then Right click on Normalizer table and select Edit.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 30

Page 31: Normalizer Transformation.pdf

Step-22 Then go to Normalizer tab, add column, specify name, data type. and then click Apply and OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 31

Page 32: Normalizer Transformation.pdf

Step-23 Then apply mapping for Source Qualifier to Normalizer table for Input column and output column to Target Table column.

Step-24 Then Create Source Qualifier Transformation for (Supplier, Supplier_Type).

Step-25 Select Table.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 32

Page 33: Normalizer Transformation.pdf

Step-26 This is Source Qualifier Transformation for Supplier and Supplier_Type table.

Step-27 Then Create Normalizer Transformation. Select Normalizer Transformation and Drop into Mapping Designer Window.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 33

Page 34: Normalizer Transformation.pdf

Step-28 Then Right click on Normalizer table and select Edit.

Step-29 Then go to Normalizer tab, add column, specify name, data type. and then click Apply and OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 34

Page 35: Normalizer Transformation.pdf

Step-30 Then apply mapping for Source Qualifier to Normalizer table for Input column and output column to Target Table column.

Step-31 Then create transformation, First Create Source Qualifier Transformation for (Employee, Department).

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 35

Page 36: Normalizer Transformation.pdf

Step-32 Select Table.

Step-33 This is Source Qualifier Transformation for Department and Employee.

Step-34 Then Create Normalizer Transformation. Select Normalizer Transformation and Drop into Mapping Designer Window.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 36

Page 37: Normalizer Transformation.pdf

Step-35 Then Right click on Normalizer table and select Edit.

Step-36 Then go to Normalizer tab, add column, specify name, data type. and then click Apply and OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 37

Page 38: Normalizer Transformation.pdf

Step-37 Then apply mapping for Source Qualifier to Normalizer table for Input column and output column to Target Table column.

Step-38 Then create transformation, First Create Source Qualifier Transformation for (Customer, Products, Store, Supplier, Employee, Supplier_Billing, Supplier_Billing_Details).

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 38

Page 39: Normalizer Transformation.pdf

Step-39 Select Table.

Step-40 This is Source Qualifier Transformation Customer, Products, Store, Supplier, Employee, Supplier_Billing, Supplier_Billing_Details tables.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 39

Page 40: Normalizer Transformation.pdf

Step-41 Then Create Normalizer Transformation, Select Normalizer Transformation and Drop into Mapping Designer Window.

Step-42 Then Right click on Normalizer table and select Edit.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 40

Page 41: Normalizer Transformation.pdf

Step-43 Then go to Normalizer tab, add column, specify name, data type. And then click Apply and OK.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 41

Page 42: Normalizer Transformation.pdf

Step-44 Then apply mapping for Source Qualifier to Normalizer table for Input column and output column to Target Table column.

Complete Mapping

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 42

Page 43: Normalizer Transformation.pdf

Step-38 And then save it (ctrl+s) and check mapping is VALID.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 43

Page 44: Normalizer Transformation.pdf

Step-1 Now go to Informatica Power Center Designer Navigator, Click on Mapping Designer then right click on mapping designer windows and select Generate Workflow.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 44

CREATE WORKFLOW

Page 45: Normalizer Transformation.pdf

Step-2 Select Workflow Generation Option and click on Next.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 45

Page 46: Normalizer Transformation.pdf

Step-3 Select as Integration Service and Connection Object, Then Specify name of workflow and session and then click Next Button.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 46

Page 47: Normalizer Transformation.pdf

Step-4 Configure connection and then click on Next button.

Step-5 Configure connection, properties, reader/writer then click on OK button.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 47

Page 48: Normalizer Transformation.pdf

Step-6 Workflow Generated Successfully, Then click on Finish button.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 48

Page 49: Normalizer Transformation.pdf

Step-1 Now, go to workflow manager and click on connect to repositories.

Step-2 Specify Username and Password, then click on Connect.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 49

WORKFLOW MONITOR AND VIEW TARGET DATA

Page 50: Normalizer Transformation.pdf

Step-3 Select Folder and Connect to Folder then open the folder..

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 50

Page 51: Normalizer Transformation.pdf

Step-4 Workflow Designer window.

Step-5 Right click on Workflow Designer window and select Start Workflow.

Step-6 Check session in Informatica Power Center Workflow Monitor.

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 51

Page 52: Normalizer Transformation.pdf

Step-7 Check session log, Right click on Session and select Get Session Log

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 52

Page 53: Normalizer Transformation.pdf

Step-8 Now view data in Target RDBMS (Oracle 11g)

DIM_CUSTOMER DATA

DIM_EMPLOYEE DATA

DIM_PRODUCT DATA

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 53

Page 54: Normalizer Transformation.pdf

DIM_STORE DATA

DIM_SUPPLIER DATA

FACT_Retail_Sales

www.bispsolutions.com | www.hyperionguru.com | www.bisptrainings.com Page 54