Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
seband_fredes
Contributor II
Contributor II

Load an outer excluding join with two tables

Hi everyone, I'm trying to join two tables:

T1:

EqCash
110
250
320

 

T2:

EqCash
180
250
330
690
775

 

I need to join this tables and the result that I need is:

T3:

EqCash
110
250
320
690
775

 

Any solution?.

 

Thanks for all.

 

Blessing

2 Solutions

Accepted Solutions
Vegar
MVP
MVP

Maybe youcan use applymap  for this?

CashMap:

Mapping Load Eq, Cash

From T1Source;

T3:

LOAD Eq, 

Applymap('CashMap', Eq, Cash) as Cash

From T2Source;

View solution in original post

ramchalla
Creator
Creator

@seband_fredes you can achieve this by using the keywords Not Exists. Please see the below code if it helps

1:

Load * Inline [

A,B
1,10
2,50
3,20


];

Concatenate
2:

Load * Inline [

A,B
1,80
2,50
3,30
6,90
7,75

]

Where not Exists(A);

 

 

View solution in original post

2 Replies
Vegar
MVP
MVP

Maybe youcan use applymap  for this?

CashMap:

Mapping Load Eq, Cash

From T1Source;

T3:

LOAD Eq, 

Applymap('CashMap', Eq, Cash) as Cash

From T2Source;

ramchalla
Creator
Creator

@seband_fredes you can achieve this by using the keywords Not Exists. Please see the below code if it helps

1:

Load * Inline [

A,B
1,10
2,50
3,20


];

Concatenate
2:

Load * Inline [

A,B
1,80
2,50
3,30
6,90
7,75

]

Where not Exists(A);