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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
ankushd
Contributor
Contributor

Inserts,updates,Deletes in single tMap

Hi All,

 

How we can find insert,update,delete records from single tMap for 2 inputs like old file& new file?

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@ankushd ,you can do with two tmaps,one to identify the new and updated and the other tmap to delete the records.

View solution in original post

3 Replies
Anonymous
Not applicable

You will need to give more of an explanation of your problem I am afraid

ankushd
Contributor
Contributor
Author

My basic requirement is to join 2 flat files  to compare the records based on Key fields and find below output types.

Lets say i have file with name OLD & NEW

Insert - Records present in NEW File and not in OLD file

Update - Records present in both the inputs but changes in non key fields

Delete - Records present in OLD file but not in NEW file

manodwhb
Champion II
Champion II

@ankushd ,you can do with two tmaps,one to identify the new and updated and the other tmap to delete the records.