Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
EnriqueLDE
Contributor II
Contributor II

Filter row by max date

Hello,

 

Im using a .csv with person data and a date. I'm trying to filter by desc date (it means now first row will be max date) and later obtain the max date row (output should have just a single row with max date). I'm not sure about the components i need to use. For example:                                                                                                 

INPUT         

1 | Person1 | 2019-01-01                                               

3 | Person3 | 2019-01-03     

2 | Person2 | 2019-01-02 

 

(desc) 

3 | Person3 | 2019-01-03   

2 | Person2 | 2019-01-02    

1 | Person1 | 2019-01-01

 

OUTPUT (max date)

3 | Person1 | 2019-01-03   

 

Thank you!

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello ,

 

By using tsortRow --> tAggregateRow--> tSampleRow you can perform this scenario

1] tSortRow =  desc on date 

2] tAggregateRow = group by on sno. and person_name then in operation :- max function on date

3] tSampleRow= range will be "1,1,"

 

for more help please find attached snapshots 

thanks, 0683p000009M6Ys.jpg0683p000009M6Z2.jpg0683p000009M6ZC.jpg0683p000009M6ZR.jpg

 

 

 

Warm Regards,
Manish

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
Anonymous
Not applicable

Hello ,

 

By using tsortRow --> tAggregateRow--> tSampleRow you can perform this scenario

1] tSortRow =  desc on date 

2] tAggregateRow = group by on sno. and person_name then in operation :- max function on date

3] tSampleRow= range will be "1,1,"

 

for more help please find attached snapshots 

thanks, 0683p000009M6Ys.jpg0683p000009M6Z2.jpg0683p000009M6ZC.jpg0683p000009M6ZR.jpg

 

 

 

Warm Regards,
Manish

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

EnriqueLDE
Contributor II
Contributor II
Author

Hi Manish,

 

Thank you very much, it works perfectly!

 

Kind regards,

Enrique