Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 1000 3000 6000 10000 can you plz give a sol using informatica

Answers were Sorted based on User's Feedback



i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 10..

Answer / radhakrishan

Use the cume function in salary port in expression transformation. It will give the cumulative values in target.

for reference
https://community.informatica.com/solutions/calculate_move_sum_avg

Is This Answer Correct ?    15 Yes 0 No

i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 10..

Answer / kriishh

take SQ->EXP.In expression create a variable port
V_CUM_SAL=V_CUM_SAL+SAL
then create a new o/p port o_sal=V_CUM_SAL

Is This Answer Correct ?    13 Yes 0 No

i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 10..

Answer / abhinaw prakash

You can make use of Variable ports for storing values
coming as input.For output you can compare values and give
the output.

the expression for output will look something like
IIF(Input_sal=v_prev_sal,v_prev_sal,input_sal+v_prev_sal)

Is This Answer Correct ?    3 Yes 0 No

i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 10..

Answer / jayachandra

use expression transformation here take two variable ports
one varaible port as v_sal and one more variable port as
o_sal and assign as o_sal=o_sal+sal
and write condition csum as

iif(sal=v_sal,o_sal+sal,o_sal)

Is This Answer Correct ?    2 Yes 1 No

i have source like this ID 1 2 3 4 sal 1000 2000 3000 4000 and how to load target like this o_sal 10..

Answer / sameer

First we uses cumulative function and second we can use expression transformation then we can calculate

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

How will u pas the data with out debugger?

4 Answers  


what is lookupoverriding?

1 Answers  


What do you understand by a term domain?

0 Answers  


Explain grouped cross tab?

1 Answers   Accenture,


there is a comma separated flat file as source and there is a column in that one field is having space like "rama krishna" like that what happens when this is used as source

2 Answers   TCS,


Partition, what happens if the specified key range is shorter and longer

0 Answers   Cap Gemini,


how to move the mappings from your local machine to claint place?

2 Answers  


Limitation of REPLACESTR. Is there any character limitation to it.

1 Answers   CTS,


in aggregator transformation we want to get middle record how to implement, source containg empno,name sal,deptno,address

1 Answers   Cognizant,


write sql query following table quarter sales q1 1000 q1 2000 q1 3000 q1 4000 q2 5000 q2 6000 q2 7000 q2 8000 q3 1000 q3 2000 q3 3000 q3 4000 q4 5000 q4 6000 q4 7000 q4 8000 i want the output format like q1 q2 q3 q4 1000 5000 1000 5000 2000 6000 2000 6000 3000 7000 3000 7000 4000 8000 4000 8000

5 Answers   CTS,


What is meant by target load plan?

0 Answers  


Explain load alternative records / rows into multiple targets - informatica

0 Answers   Informatica,


Categories