Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
panwipa2528
Contributor III
Contributor III

Need Help: Get Max Date and Max Value of a ID

It's possible to get a max value of a max date of one ID using expressions in QlikView?

Table:

IDDatetruck_license
130/9/2016AB-9332
122/9/2016EE15
221/9/2016QQ-3346
224/9/20161CC-351
31/9/2016CC-1783
32/9/2016ASD18
422/9/2016AA-2351
423/9/2016VBV0

Result:

   

IDDatetruck_license
130/9/2016   AB-9332
224/9/2016   1CC-351
32/9/2016      ASD18
423/9/2016        VBV0
4 Replies
ecolomer
Master II
Master II

Use FirstSortedValue expression in the script to have it

tresesco
MVP
MVP

Straight table

Dim : ID

Exp1: Date(Max(Date))

Exp2: FirstSortedValue(truck_license, -Date)

panwipa2528
Contributor III
Contributor III
Author

Thank you very much.

panwipa2528
Contributor III
Contributor III
Author

Thank you very much for your help.