Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! 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 (2)
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