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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load serial, Max(log_date), logged_value

Hi All,

I need some help here.  I have 3 fields: AC_SERIAL, LOG_DATE and LOG_VALUE.

I want to load in the max(log_date) for each aircraft and return the single log_value for that date.  I need help.  Thanks.

Labels (1)
1 Reply
swuehl
Champion III
Champion III

Try

Load    

AC_SERIAL ,

max(LOG_DATE),

FirstSortedValue(LOG_VALUE, -LOG_DATE )

FROM ... GROUP BY AC_SERIAL;