Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
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;