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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Updating flag

Hi all,

I have a requirement, here I need to compare target with source by using 2 columns 1 is primary key & other is hash key.

If the same record is present in target table with change in some columns, instead of updating that record i want to change the flag with end_date & store it in the same table.

Can anyone help me with the job design.

 

Thanks in advance

ShaX

Labels (1)
  • v7.x

1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@ShaX,You can do with tMap and there inner join on 2 columns ,source would be main and target would be lookup and then take the inner join rejects into output and then there you create a new field end_date  and set current date for  end_date and insert into target.

View solution in original post

1 Reply
manodwhb
Champion II
Champion II

@ShaX,You can do with tMap and there inner join on 2 columns ,source would be main and target would be lookup and then take the inner join rejects into output and then there you create a new field end_date  and set current date for  end_date and insert into target.