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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
JABELLA1634831127
Contributor III
Contributor III

Getting rows with differences between two data tables

0695b00000LySNWAA3.png

Hi so I currently have this tmap which gets all rows with differences between two tables. The problem is it also gets additional rows in the first table that is not in the second table. How can I get only rows with differences not including rows present in data table 1 but not present in data table 2.

Labels (2)
16 Replies
JABELLA1634831127
Contributor III
Contributor III
Author

0695b00000LyTS3AAN.png0695b00000LyTSXAA3.png0695b00000LyTSNAA3.png 

Would this be correct?

gjeremy1617088143

no :

first send tfileinputexcel6 to a hash,

then onsubjobok link,

you read your main file you join with a hash (with tJoin) and the output of this is joined to a second hash in a tMap (both HashInput a relied to the same hashInput, on the second one you check the checkbox for deleting the hash after reading the data)

 

gjeremy1617088143

something like this :

0695b00000LyTflAAF.png

JABELLA1634831127
Contributor III
Contributor III
Author

Hi really sorry I'm asking so much but how should my tmap look like. I followed the picture above but I think my tmap is wrong, since im getting null values in all my rows.0695b00000LyU3YAAV.png0695b00000LyU3sAAF.png

gjeremy1617088143

you have to set row8 instead of row9 in the ouptut schema

JABELLA1634831127
Contributor III
Contributor III
Author

thanks for all your help. it works now 🙂

gjeremy1617088143

don't forget to select one of my answer as the best and merry Christmas