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: 
Anonymous
Not applicable

Update a field in a table

Hi,

 

I have a process to detect changes if any field has changed, in case the data of a row has changed, I would like to update a field called Status to 0, because then I write a new record with new data with this valur to 1.

 

How can I update a field from source table to target table?

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

Do the look-up on key and then you compare the fields like below and update the table.these all thing you can do in tMap.

Row1.col1.equals(row2.col1) && row1.col2.equals(row2.col2)?1:0

View solution in original post

2 Replies
manodwhb
Champion II
Champion II

Do the look-up on key and then you compare the fields like below and update the table.these all thing you can do in tMap.

Row1.col1.equals(row2.col1) && row1.col2.equals(row2.col2)?1:0
Anonymous
Not applicable
Author

Thanks for your support!!!