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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

max and min

without using taggregaterow how can i perform max and min operations in talend please provide a sample job

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

@rchinta

 

Could you please mark the topic as answered if the details given is fine for you?

 

Warm Regards,

 

Nikhil Thampi

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi Ram,

 

    It depends on your scenario. For example, you can do the aggregation in Database itself before bringing to Talend if the source is a DB.

 

    If it is a sequence number, you can pick the last row's value will since it will be in ordered format.

 

     If it is in jumbled format, you will have to sort the entire record set using tSortrow and then pick the value of last record by assigning the value of each row to a context variable using tjavarow . Since the previous value will be overwritten when new row is processed, automatically you will get the last row's value once the entire data set is processed.

 

     I would suggest you to create a sample flow with the logic explained below to practice your learning. Could you please mark the topic as resolved since query has been answered? Kudos are also welcome 🙂

 

Warm Regards,

 

Nikhil Thampi

Anonymous
Not applicable
Author

@rchinta

 

Could you please mark the topic as answered if the details given is fine for you?

 

Warm Regards,

 

Nikhil Thampi

Anonymous
Not applicable
Author

please provide an example data with job please
Anonymous
Not applicable
Author

Hi Ram,

 

     Since I do not have the input values, why dont you setup a sample job based on the above instructions? If you are stuck somewhere, please feel free to contact Talend community and we will help you from there.

 

Warm Regards,

 

Nikhil Thampi