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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Concatenante two tables

Hi and happy new year eveybody !!!!!

I have an issue.. i want to concatenante two fields with the "where not exists" function like that:

Client:

load

from DATA$Customer;

concatenante

load N°

where not exists ( N°,N°(Number of the DATA$Customer table?)

from HEOR$Customer;

The problem is i want to say to qlikview concatenante all the N° of the DATA$Customer and all the N° of HEOR$Customer which were not exists in the DATA$Customer table and save the result in the N° field.

But i don't know how to do this,

anyone can help me???

Thanks a lot!!!

1 Solution

Accepted Solutions
rubenmarin

Hi sab, it should work like you are doing it:

concatenante

load N°

where not exists (N°,N°)

from HEOR$Customer;

This example also works, it wouldn't load the second client Nº 1:

LOAD * INLINE [

Nº, client

1, Client 1

2, Client 2

];

Concatenate LOAD * Inline [

Nº, client

1, client 2-1

3, Client 3

] Where not Exists(Nº, Nº);

View solution in original post

3 Replies
rubenmarin

Hi sab, it should work like you are doing it:

concatenante

load N°

where not exists (N°,N°)

from HEOR$Customer;

This example also works, it wouldn't load the second client Nº 1:

LOAD * INLINE [

Nº, client

1, Client 1

2, Client 2

];

Concatenate LOAD * Inline [

Nº, client

1, client 2-1

3, Client 3

] Where not Exists(Nº, Nº);

SunilChauhan
Champion II
Champion II

[DATA$Customer temp]:

load

from DATA$Customer;

Test:

load N°

where not exists ( [N°],[N°]

from HEOR$Customer;

drop table [DATA$Customer temp];

[DATA$Customer]:

load

from DATA$Customer;

concatenate

Load

resident Test;

drop table Test;

hope this helps

Sunil Chauhan
Not applicable
Author

Thanks a lot guys!

It's works!