Which type or t/s is used to convert rows into column &
column into rows

Answer Posted / prakash chandran

Row To columns
--------------

Use Normalizer Transformation


Column To Rows
--------------

SOURCE
------
ENO COL_HDR COL_VAL
------------------------
1 ENAME PRAKASH
1 ESAL 35000
2 ENAME SREE
2 ESAL 25000

OUTPUT
------
ENO ENAME ESAL
1 PRAKASH 35000
2 SREE 25000

MAPPING LOGIC
--------------

SRC -----> AGG -----> TGT

Use First Function in Aggegrator to convert the Column to
rows

In Aggegrator, Create two output columns and write the
following expression

Port Name Expression
--------- ----------
O_ENAME FIRST(COL_VAL,COL_HDR='ENAME')
O_ESAL FIRST(COL_VAL,COL_HDR='ESAL')

Please get back to me in case of queries.

Thx & Regards,
Prakash Chandran

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is partitioning? Explain about round-robin, hash partitioning.

549


what are the reports created in mm and sd side using sap bw in a project? name some of them and explain the requirement?

1688


How to fine tune mappings?

564


what is granularity in Data ware House?

1165


What is Data Vault???

2342






how to connect to a flatfile through ftp in informatica

13445


1)Power center server and client on the same machine 2)power center server and client on the different machines What is the basic difference in these two setups and which is recommended ?

1669


Informatica server and client are in different machines. You run the session from the server manager by specifying the source and target databases. It displays error . You are confident that everything is correct. Then why it is displaying the error?

3316


What is the difference between project backlog and product backlog?

1026


what is the main role of FI on business

1627


Define Dynamic push down optmization?

1909


What do you understand by active and passive transformations?

550


diff b/w dwh & data mart diff b/w star schema & snow flake schema diff b/w fact table & dimension table what are the contents in requirement specification what are the docs needed for testing draw ur proj architecture

2093


what is Forward,Reverse and Re_engineering?

1726


can cubes contain measures ?

1641