Or....
Use Remove Duplicate Stage.
Keep the Last Record for Max value.
In Input link, SORT and PARTITION on PersonNumber and use only SORT for TimeStamp field in ascending order.
You will get one unique row for each personnumber with max date/time value.
Hope this helps.
Search found 88 matches
- Thu Oct 13, 2011 7:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: stage to get the max time for each date
- Replies: 11
- Views: 6010
- Thu Oct 13, 2011 12:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: warings implicit conversion
- Replies: 3
- Views: 2944
- Thu Oct 13, 2011 12:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Link Ordering
- Replies: 7
- Views: 5748
- Mon Oct 10, 2011 12:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRANSPOSE ! is it possible?
- Replies: 19
- Views: 6813
Hi Karthi, You have to use Vertical Pivot to get the desired result. Using a transformer, strip out the Year value from your input file and create a Year Column and Pivot on Amount with Array Size 12 with Group By on Asset_Id and Year. Also make sure to Sort the Input File on Asset_Id (Sorting and P...
- Fri Jun 10, 2011 1:39 pm
- Forum: General
- Topic: IIS85 installation Issues with xmeta pass
- Replies: 8
- Views: 5650
- Fri Jun 10, 2011 1:22 pm
- Forum: General
- Topic: Data and Time for the sequential file.
- Replies: 10
- Views: 3392
- Wed Jun 08, 2011 12:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Regarding JOIN Stage
- Replies: 5
- Views: 3890
Re: Regarding JOIN Stage
Soumya is right. Just hash partition and also sort your input key columnsoumya5891 wrote:You need to make a hash partition on each input link in the same order.The order of the hash keys will be same as join keys
- Fri Jun 03, 2011 7:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Having issues with Lookup Stage
- Replies: 7
- Views: 5403
- Fri May 20, 2011 1:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to Delete duplicated records
- Replies: 7
- Views: 4232
- Thu Apr 28, 2011 10:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: current date () - 6 months
- Replies: 17
- Views: 8446
- Wed Nov 24, 2010 10:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to check the field has numbers in it
- Replies: 6
- Views: 3121
- Mon Nov 08, 2010 7:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: logic required
- Replies: 6
- Views: 4436
- Fri Nov 05, 2010 1:58 pm
- Forum: General
- Topic: datastage admin trainning needs
- Replies: 1
- Views: 1114
- Fri Nov 05, 2010 1:55 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: 7.5.2 Windows to 8.1 Linux Performance Discrepancy
- Replies: 11
- Views: 3994
- Wed Nov 03, 2010 2:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EE 8.5 under VMWare
- Replies: 5
- Views: 2565