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: 
inigoelv
Creator
Creator

CONCATENATE TABLES

Hello:

I would like to concatenate these tables without duplicate the common rows:

ArticleDateQuantity
A01/02/2013 12:34:23100
B01/02/2013 13:36:45200
C01/02/2013 13:38:56300
D01/02/2013 13:43:46400

ArticleDateQuantity
C01/02/2013 13:38:56300
D01/02/2013 13:43:46400
E01/02/2013 13:48:45345
F01/02/2013 14:45:23600
G01/02/2013 14:49:45789

It is possible an example with the field date and sentence where, like "where Date > Max(Date)".

Thanks in advance.

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

Just add the DISTINCT keyword to each LOAD.

-Rob

View solution in original post

2 Replies
Sokkorn
Master
Master

Hi,

I think JOIN may do this job. Let try

[Data1]:

LOAD * Inline [

Article,    Date,    Quantity

A,    01/02/2013 12:34:23,    100

B,    01/02/2013 13:36:45,    200

C,    01/02/2013 13:38:56,    300

D,    01/02/2013 13:43:46,    400];

[Data2]:

JOIN ([Data1])

LOAD * Inline [

Article,    Date,    Quantity

C,    01/02/2013 13:38:56,    300

D,    01/02/2013 13:43:46,    400

E,    01/02/2013 13:48:45,    345

F,    01/02/2013 14:45:23,    600

G,    01/02/2013 14:49:45,    789];

Regards,

Sokkorn

rwunderlich
MVP
MVP

Just add the DISTINCT keyword to each LOAD.

-Rob