How to retrieve companies latest year revenue using Talend?

 

Requirement :

1.There is a file which has three columns company name , year ,revenue . So I want to retrieve the companies revenue for the latest year.

2. I want to retrieve each company’s revenue for the latest year .. irrespective latest year .

.