How to create a mapping ?
id date
101 2/4/2008
101 4/4/2008
102 6/4/2008
102 4/4/2008
103 4/4/2008
104 8/4/2008
O/P - shud have only one id with the min(date)
How to create a mapping for this
Answer Posted / kalyan
I guess the below logic will solve this question..
Sq -> Expression T/R -> Aggr t/r -> Target
Create a constant port in Expression t/r and then pass the 3
fields id, date & const port to the aggregate t/r... Create
a new port calculating mindate.. Now do a group by on the
Const field ; connect id & min Date fields to the Target...
FYI, If u don't apply group by on any column of the table ;
can not calculate the Aggr values...
Please correct me if I am wrong...
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Explain how many types of dimensions are available in informatica?
Make a note of the quantity vaults made in informatica?
Explain lookup transformation in informatica
Explain Dataware house architecture .how data flow from intial to end?
What is decode in informatica?
What you know about transaction control transformation?
What all are steps in up gradation of Informatica server?
What is intricate mapping?
How to do unit testing in informatica? How to load data in informatica ?
How we can create indexes after completing the load process?
What are the new features of informatica 9.x in developer level?
In development project what is the process to follow for an etl developer from day1
what are the fact table & dimensional table in pharmaceutical and hospotal related products???
What is joiner transformation?
What is informatica? Why do we need it?