Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select a record with the latest date in qlikview

How, Select a record with the latest date in qlikview helpme thanks

3 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you explain you requirement little bit detailed.

Regards,

Jagan.

Not applicable
Author

Hi Rolan,

Check the following expression

=FirstSortedValue(Field1&'  '&field2, -Date)

for instance if you have OrderID,OrderDate & Name in your table and if you want to show the OrderID&Name based on the latest OrderDate then

=FirstSortedValue(OrderID&'  '&Name, -Date) then it will show the ID & Name based on the latest date. don't forget to put - bfore date.

Hope it helps.

Regards,

Arun Prasadh.N.

Not applicable
Author

Hi Rolan,

If u get confused with my explanation jst take this expression only.

=FirstSortedValue(Field1, -Datefield)

It works perfectly.