my sourse is like id name sal--1 aa 1000 ,2 bb 2000, 3 cc 3000
4 dd 4000, 5 ee 6000 , 6 ff 7000 and so on but myrequirement
is like this id name sal up_sal,1 aa 1000 null,2 bb 2000
1000, 3 cc 3000 2000
4 dd 4000 3000, 5 ee 5000 4000 , 6 ff 6000 50000 and so on

so how can i get it plez reply for this as soon as possible
, thanks in advanced

Answer Posted / nirosha g

Use an Expression Transformation connected to Source Qualifier
taking all the columns from source
In expression Transformation create two variable ports and one
output port after Input ports in same order
v_prev_sal = iif(id=1,NULL,prev_sal);
prev_sal = sal;
o_prev_sal = v_prev_sal;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in detail about scd type 1 through mapping.

825


What does role playing dimension mean?

796


Explain pushdown optimization $pushdownconfig parameter - informatica

903


What are the different ways to implement parallel processing in informatica?

1095


Mention few power centre client applications with their basic purpose?

723


Write the prerequisite tasks to achieve the session partition?

832


Which transformation is needed while using the Cobol sources as source definitions?

928


What is rank transformation in informatica

920


What is data movement mode in Informatica and difference between them?

847


Could you explain what is enterprise data warehouse?

747


How is union transformation utilized?

773


Which version configuration tool used in ur project?

2965


Whats the difference between informatica powercenter server, repositoryserver and repository?

913


What is the difference between stop and abort in informatica

865


What happen if you have 3 ports in SQ and 4 ports in SQL override of SQ( provided all ports are in same order and they are connected with proper source and target)? Also what happens when I have 4 ports and will extract 3 values in SQloverride.. What will be the value in 4th port ?

1396