Hi,
source data is
col1 values are 5,6,7
col2 are 3,2,1
col3 are 8,9,10
and i want to get target as
col1 5,6,7
col2 1,2,3
col3 8,9,10
how to do this one?
Answer Posted / galandekapil
I think we can do this via declaring 3 variables say var1,
var2 and var3 in an expression transformationand say we
have 3 input columns col1, col2 and col3.
var1=max(col1, col2, col3)
var2=IIF(var1=col1 and col2>col3, col2,
else if var1=col1 and col3>col2, col3,
else if var1=col2 and col1>col3, col1,
else if var1=col2 and col3>col1, col3,
else col3
var3=min(col1, col2, col3)
Then assign var1 to target col1, var2 to target col2 and
var3 to target col3. I guess this way we can sort the date
in row.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to load the data from a flat file into the target where the source flat file name changes daily?
1)you have multiple source system where u receive files ,how do you actually load into mapping using transformation,what are the transformation you use? 2)you have files in ftp location ,how do you get it into mapping with you ETL concept?
Dimension Object created in Oracle can be imported in Designer Cubes contain measures
Differentiate between reusable transformation and mapplet.
Why can't we connect source qualifier and aggrigator transformation to an expression ? Why they resticted to conncet 2 active trasformations to an passive transformation ?
define galaxy repository in informatica
What is update strategy transform?
How many ways are there to do 'remove duplicate records in informatica'?
how many types of dimensions are available in informatica?
is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?
How to go to the older version for a mapping?
What are the transformations that are not supported in mapplet?
What are the informatica performance improvement tips
What is rank index in rank transformation?
How can repository reports be accessed without sql or other transformations?