Yes
1
Reply
Yes
Reply
Vinod
This one is the most complicated that i had ever seen.
Basically it is inverse pivot functionality. but in order to perform inverse pivot
functionality we need at-least 2 columns. So, i am going to generate that extra
column with "1" in 6 rows.
Then Based on this i done the concatenation, after concatenation i used copy
stage then from copy stage one link is going to remove duplicate stage and
another one to lookup stage. in remove duplicate stage i collected the retain =
last value (a,b,c,1,2,3), 1 . in lookup stage i combined both the data and used
transformer stage to collect (a,b,c) then i made a concatenate with (a,b,c) with
actual values(a,b,c,1,2,3) then the data will be {(a,b,c,a),(a,b,c,b),(a,b,c,c),(a,b,c,1),
(a,b,c,2),(a,b,c,3)} now i specified a condition so that i can collect the specified
requirement {(a,b,c,1),(a,b,c,2),(a,b,c,3)}
I can't post the screen shot's if u need further clarification Feel free to mail
mee. I will send the screen shots..
ALL THE BEST !!
KEEP POSTING...
kumar
We can do it using Transformer.Take 3 stage variables(s1,s2,s3),for s1 map the
input column and for s2 we have to write the condition like if
alpha(inputcolumn)= true then trim(s3:,:s1,,,) else s3:,:inputcolumn. for s3 also
we have to write the condition like if alpha(inputcol) true then map s2 into s3
else map s3 to s3.
Input column---->S1
if alpha(inputcolumn)=true then trim(s3:,:s1) else trim(s3:,:inputcolumn)--------
>s2
if alpha(inputcoumn)=true then s2 else s3------->s3
In constraint part we have to write the below condition
if alnum(s2)=true
In derivation part we have to map s2 to output column
I think it will work
poorna
source-->Transformer(use field function by taking stage variable like
field(inputcolumn,,,1,3) and concatenate this field value aging with field ---->
Pivot stage--->target.