Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 II
Contributor II

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