suppose i have source
101 a
101 b
101 c
101 d i want target like 101 abcd how will u achive this
please give me the answer
Answer Posted / arunakumari l
(here column names are not mentioned .so,i have taken them
as column1 and column2)
take 2 variables for current value of column1 and previous
value of column1 and use concat function for concatenating
values of column2.
STEP1:
use this below logic in expression transformation:-
(variableports)curr_col1_val:column1
(variableports)res:if(curr_col1_val=pre_col1_val,concat
(res,column2),column2)
(variableports)pre_col1_val:column1
STEP2:
Take groupby on column2 in aggregator
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can you differentiate between powercenter and power map?
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?
How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix. ?
can any one explain me what i have to tell about insurance project in interview,,,,when he asked to tell about ur project
What are the tasks that source qualifier perform?
differences between service based and product based?
What are the differences between a connected lookup and unconnected lookup?
How many ways are there to create ports?
can u any challenge your project?
what are the Methods For Creating Reusable Transformations?
How to update a particular record in target with out running whole workflow?
Define update strategy?
Define sessions in informatica etl?
Workflow is long running due to long running sql query so when we refer the query plan it tells the issue is due to partition of the db table. How to handle this?
What is union transformation?