adspace


I have source like this
year account month amount
----- --------- ------ --------
1999 salaries jan 9600
1999 salaries feb 2000
1999 salaries mar 2500
2001 benfits jan 3000
2001 benfits feb 3500
2001 benfits mar 4000
-->i need target like this
year account month1 month2 month3
----- --------- -------- -------- --------
1999 salaries 9600 2000 2500
2001 benfits 3000 3500 4000

Answer Posted / soumen

Use following method --

sq_source --> exp_tans --> agg_trans --> target

exp_trans --> add 3 variable --
v_month1 == iif(month='jan', amount, 0)
v_month2 == iif(month='feb', amount, 0)
v_month3 == iif(month='mar', amount, 0)

agg_trans --> add 5 cols from exp_trans --
year(check group by), account(check group by), v_month1,
v_month2, v_month2

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

draw informatica architecture 8.6 ?

3962


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

1221


Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

8312


What is dimensional table?

1188


can anybody send me some real time screenshots of mapping in informatica powercenter. i will be vary thankful to him. my e-mail id :- prakashkumar.kumhar@gmail.com

4816


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

2434


Explain in detail about scd type 1 through mapping.

1666


EXL informatica Questions

1472


Write the unconnected lookup syntax?

1168


What is dimensional table? Explain the different dimensions.

1283


Name at least 5 different types of transformations used in mapping design and state the use of each.?

1231


Hi all , I am planning for informatica S - PowerCenter 8 Mapping Design certification. I have rewuired the dumps for the same. if anyone of you having the same pl. share it with me. This will be of great help. My contact is : sagardev7@gmail.com TIA , Sagar

2846


I have two different source structure tables, but I want to load into single target table? How do I go about it? Explain in detail through mapping flow.

1268


How do you remove duplicate records in informatica? And how many ways are there to do it?

1253


Write the unconnected lookup syntax and how to return more than one column.

1185