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: 
Dayna
Creator II
Creator II

Selecting 'Last' Record

Hello,

How do you select the 'Last' record, as in the most recent one according to a date?

Kind Regards,

Dayna

2 Replies
Not applicable

Not quite sure what you mean but there are functions such as 'previous' that might suit. You could also work out the most recent date in the script using max in the load statement:

Load [Contract No],
date(max([Last Income])) as [Last Income]
resident [tLast Income]
group by [Contract No];

Regards,

Gordon

Dayna
Creator II
Creator II
Author

Hello,

What I am trying to achieve, is within a gauge chart, show the last record in the system. So all my records have a date, but not all nessessary are from yesterday, or a week ago, the recent one might from a year ago... But I want to pick the most 'recent' record, just not sure how to go about it.

Kind Regards,
Dayna