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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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.

1 Reply
swuehl
MVP
MVP

Try

Load    

AC_SERIAL ,

max(LOG_DATE),

FirstSortedValue(LOG_VALUE, -LOG_DATE )

FROM ... GROUP BY AC_SERIAL;