Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to findout latest records with their status

Dear Experties,

How to find out latest record with latest status.please see the below example table :

    

IDStartDateDaysStatusReason
A100101/01/2017 10:08:1110closed
A100101/01/2017 11:08:1115Pendinglatest record
A100131/01/2017 10:08:1130closed
A100201/02/2017 12:10:1312Pending
A100221/02/2017 12:10:1315closedLatest Record

i would like to expecting like below

   

IDStartDateDaysStatusReason
A100101/01/2017 11:08:1115Pending
A100221/02/2017 12:10:1315-

It would be helpfull if anyone can provide  the logic.


Regards,

Sunny

10 Replies
swuehl
MVP
MVP

ID Maxstring(StartDate) FirstSortedValue(Days, -StartDate) FirstSortedValue(StatusReason, -StartDate)
A100131.01.2017 10:08:1130closed
A100221.02.2017 12:10:1315closed