Anda di halaman 1dari 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 0.1 Initial Draft 0.1 Review#1 Author Upendra Upadhyay Amit Sharma Publish Date 12th Aug 2011 18th Aug 2011

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

TABLE OF CONTENTS
S.NO 1 2 3 4 5 6 Introduction. Creating Repository & Folder. Import Data Source and Target Model. Create Mapping and Defining Normalizer Transformation. Create Workflow. Workflow Monitor & Review data. TITLE PAGE. NO. 3-5 6-9 10-15 16-39 40-44 45-50

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

Introduction
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

Description
A 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

DIM_Customer Table

DIM_Products Table

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

DIM_Store Table

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

DIM_Employee Table

DIM_Supplier Table

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

FACT_Retail_Sales

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

Target Model

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

Creating Repository and Folder

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

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

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

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

Importing Source and Target Table

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

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

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

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

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

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

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

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

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

CREATE MAPPING AND DEFINIGN NORMALIZER TRANSFORMATION

Step-1 Go to Mapping Designer click OK.

and Create New Mapping and then name of mapping and

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CREATE WORKFLOW

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

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

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

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

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

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

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

WORKFLOW MONITOR AND VIEW TARGET DATA


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

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

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

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

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

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

DIM_STORE DATA

DIM_SUPPLIER DATA

FACT_Retail_Sales

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

Anda mungkin juga menyukai