Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
robert99
Specialist III
Specialist III

Load only one entry for each record

I have a file that contain more than one entry for each call

Call     Date         

101     1/1/2014

101     2/1/2014

101     3/1/2014

102     2/1/2014

102     5/1/2014

I want to load only the last date for each call

What is the best way to do this

Thanks for any help

1 Solution

Accepted Solutions
robert99
Specialist III
Specialist III
Author

OK I CAN TRY THIS

http://community.qlik.com/message/425760#425760

Maybe like this:

INPUT:

LOAD

Call,

Date

FROM

[C;


CURRENT:

LOAD lead_id,

          max(date) as LastUpdate

RESIDENT INPUT GROUP BY Call;

DROP TABLE INPUT;

View solution in original post

1 Reply
robert99
Specialist III
Specialist III
Author

OK I CAN TRY THIS

http://community.qlik.com/message/425760#425760

Maybe like this:

INPUT:

LOAD

Call,

Date

FROM

[C;


CURRENT:

LOAD lead_id,

          max(date) as LastUpdate

RESIDENT INPUT GROUP BY Call;

DROP TABLE INPUT;