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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Data mapping condition in script

Lets say I have two tables looks like below

Table 1

IDProductAmount
1A100
1B200

Table2

IDProductAmount
1A300
1C250

Now I want to create the Final table with below condition

If ID & Product from Table1 exist in Table2 , then Take the Amount wherever it is greater, in this case it will pick from table2.

Also take ID & Product from Table2 which not there in Table1.

Final Output

  

IDProductAmount
1A300
1B200
1C250
30 Replies
sunny_talwar

I agree because right now we don't even have any idea of what is working well and what isn't. I would def. suggest running the loop script once as well.