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
How do you migrate data from one environment to another?
Write the program through which the records can be updated?
scenario where i can use only concurrent execution of workflow.
What is workflow? What are the components of workflow manager?
source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.
How would you copy the content of one repository to another repository?
Whats the difference between informatica powercenter server, repositoryserver and repository?
Tell me any other tools for scheduling purpose other than workflow manager pmcmd?
What are the new features of informatica 9.x in developer level?
Hi, I want to change date type char value integer value? I tried alter table tab_name modify (newcolumn newdatetype). But The columns have 10 million values(char type) so I want to load now numeric data. How it is possible? Old Values New Value(I want to load numeric data but the old value should be there in the column) Y 1 N 0 ERROR at line 1: ORA-01439: column to be modified must be empty to change datatype Please help on this. Thanks, GM
What is depict expression change?
If informatica has its scheduler why using third party scheduler?
How can informatica be used for an organization?
Does an informatica transformation support only aggregate expressions?
Mention few advantages of router transformation over filter transformation.