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
Little corrections ---->
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), sum(v_month1),
sum(v_month2), sum(v_month2)
Now forward these 5 cols to Target.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the steps involved in the migration from older version to newer version of Informatica Server?
Enlist the tasks for which source qualifier transformation is used.
Write the unconnected lookup syntax?
Write the different tools in the workflow manager?
How to call shell scripts from informatica?
What are some examples of informatica etl programs?
What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?
how lookup transformation is made active in new versions... When to use connected and when to use unconnected lookup and why? which is good for session performance. How to make lookup persistent and how to remove stale data from that lookup. how commit works - when we stop or abort data. Explain in both cases. What is factless fact table and have you ever used it in real time scenarios.
What are the challenges you have faced in your Project (DWH- ETL)? Explain with example?
How to load the data from people soft hrm to people soft erm using informatica?
What is persistent lookup cache?
What is a filter transformation and why it is an active one?
How can we use batches?
Hi, I want to do Informatica Designer certification. Can anyone help me by providing the details on this. Thanks in advance. Regards, Arnab
What does “tail –f” command do and what is its use as an Informatica admin.