Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / parthiban

S->SQ->SRT->EXP->FIL->TGT

Sort on date Column

In Expression, Create variable ports for partition
V_Currdate = date
V_Flag = IIF(V_Currdate = V_Prevdate, V_Flag+1,1)
V_Prevdate =date
O_Flag = V_Flag

In Filter, Filter where O_Flag =1

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the challenges you have faced in your Project (DWH- ETL)? Explain with example?

8203


What are active transformations.

1659


How do you update the records with or without using update strategy?

1121


server hot-ws270 is connect to Repository B. What does it mean?

2569


How many numbers of sessions can one group in batches?

1064


What is a node in Informatica?

1046


Write the different tools in the workflow manager?

1071


have u done any performance tuning? how u ll do?

2299


What the difference is between a database, a data warehouse and a data mart?

1159


How to partition the Session?

1117


What is lookup transformation?

1046


How can we use mapping variables in informatica? Where do we use them?

1207


Which files are created during the session rums by informatics server?

1185


What is the need of an ETL tool?

1107


Explain in detail about scd type 1 through mapping.

1557