Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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.