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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Mike_9
Contributor
Contributor

First Five & Last Five Records

In a table 100 records I want output like 1st five records and last five record total 10 records should be my output in talend.

Please help me for this solution.

Thank You !!

Labels (2)
3 Replies
Anonymous
Not applicable

Is there a field that can be used to sort the records?

manodwhb
Champion II
Champion II

@Mukesh Padavala​ , if you have a field that can be sort first sort and then use tSampleRow component to get the records.

 

check the below link to know more about tSampleRow.

https://help.talend.com/reader/Btf8zDsnT4ikhQgFW1plpQ/wLnkvKkGONu~jjPEzMWp5A

 

Thanks,

Manohar

Mike_9
Contributor
Contributor
Author

@Shicong Hong​ Yeah.. Index field were there !!