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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikwiz123
Creator III
Creator III

Look into tables and find Unique Values

I have

Table A

ID

 

Table B

ID

 

I need to check for IDs in TableA and create a Flag where if ID from Table B is present in Table A, then 'Existing', if not 'New'.

How do I do this?

Labels (1)
1 Solution

Accepted Solutions
Saravanan_Desingh

One solution.

tab1:
Mapping
LOAD *, 'Exisitng' INLINE [
    F1
    123
    456
    789
];

tab2:
LOAD *, ApplyMap('tab1',F1,'New') As Flag INLINE [
    F1
    123
    456
    789
    901
    112
    113
]
; 

commQV42.PNG

View solution in original post

1 Reply
Saravanan_Desingh

One solution.

tab1:
Mapping
LOAD *, 'Exisitng' INLINE [
    F1
    123
    456
    789
];

tab2:
LOAD *, ApplyMap('tab1',F1,'New') As Flag INLINE [
    F1
    123
    456
    789
    901
    112
    113
]
; 

commQV42.PNG