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

Labels (1)
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;