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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
prabuj
Contributor III
Contributor III

How to get the last date of a column in Talend ?

Dear Team, @Xiaodi Shi​  @Shicong Hong​ @Manohar B​  @Fred Trebuchet​  @Vladimir Apukov​ 

Could you help out with some sample example clearly ?

I have a requirement like this:

if (policy status is inactive)  

    so system will send the date of cancellation of the last active policy

else

   do not send

row1.policy_status.equals("INACTIVE") ? (system will send the date of cancellation of the last active policy )

how to get the date of cancellation of last active policy ?

Thanks in advance.

Labels (2)
4 Replies
Anonymous
Not applicable

Hello,

It seems that you are referring to the last modified date for your column?

Here is Talend routine TalendDate with a method of compareDate(). 

Please have a look at this documentation about:

https://help.talend.com/r/en-US/8.0/open-studio-user-guide/comparing-dates

Feel free to let us know if it is what you are looking for.

Best regards

Sabrina

prabuj
Contributor III
Contributor III
Author

@Xiaodi Shi​ Yes, am referring to the last modified date of a column? Could you help out with a example - I can't figure out with the link provided.

 

Thanks in advance.

 

 

Anonymous
Not applicable

Hello,

Could you please elaborate your case with an example with input and expected output values?

Best regards

Sabrina

jlolling_kloeckner
Contributor II
Contributor II

If these data are in a database table thta would be easy to implement in SQL