Home > Software > Data-Warehouse > Informatica
Interview Questions   Tutorials   Discussions   Programs   

Informatica - How to transform normalized data to denormalized form in informatica? Is there any logic or any transformations to achieve this?




1186
views
asked marvit September 20, 2014 08:05 AM  

How to transform normalized data to denormalized form in informatica? Is there any logic or any transformations to achieve this?


           

1 Answers



 
answered By vishnoiprem   0  
Using Normalizer T/R we can achieve this; Horizontal Pivoting i.e Converting Single horizontal record into Multiple vertical records. Even reverse logic i.e; Vertical Pivoting also possible using the Normalizer T/R.
We need to use NORMALIZER transformation to convert single 
row into multiple rows.
Ex: NAME    SALES    QUARTERCID    KT_NRMSALES_ID
Books    10 &nb sp;  1    1
Books    20    2    2
Books  & nbsp; 30    3    3
-----etc
TO --> NAME    Q1    Q2    Q3
Movies    40    30  ;   70
Books    10    20    30
Furniture    20& nbsp;   10    90
And we need to use aggregator transformation to do reverse 
operation.
In this we have to use any of the aggregate function 
SUM/MIN/MAX and then decode to get the particular quarter 
and enable NAME port as group by.
sum(DECODE(QUARTERCID,1,SALES,NULL)) Q1
sum(DECODE(QUARTERCID,1,SALES,NULL)) Q2
sum(DECODE(QUARTERCID,1,SALES,NULL)) Q3 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert