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: 
user_kmt
Contributor
Contributor

get value from previous line

hi,

Question 1:i need to comapre a value from line n to a value from line n-1 and to get a value from previous line in tmap.

Question 2: can I sort data according to an order that I have specified?

can u help me please?

Labels (2)
2 Replies
manodwhb
Champion II
Champion II

@Khouloud Mtar​ , you need to use mapping variables in tmap to compare the previous row value with current row value.

 

https://help.talend.com/r/6lpaT_M~MEVrltFQcrPe4g/ExuA1d66Ol9sbivXfV5aVQ

 

Thanks,

Manohar

Banupriya
Contributor III
Contributor III

You can use tmemorize component to compare current data and Previous data