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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

select data from two tables

Hi experts,

I have two tables, T1 and T2 as below,

T1:

Sales
A
B
C
D

T2:

Sales
A
C
E

Then, I want to find out the same sales from T2 when sales name is same as T1. What about the scripts for this?

Display result in T2 :

Sales
A
C

Thanks

Jessica

Labels (1)
3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

MyTable:

LOAD Sales FROM table1;

INNER JOIN

LOAD Sales FROM table2;


talk is cheap, supply exceeds demand
avinashelite
MVP
MVP

if you don't want the table to get merge use the INNER KEEP

MyTable:

LOAD Sales FROM table1;

INNER KEEP

LOAD Sales FROM table2;

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

PFA....