Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
smanas
Contributor III
Contributor III

How to get the most recent date in AdHoc

I'm trying to get the most recent date for each ID in AdHoc. Please advise

I tried = Max("Start Date") but doesn't work

 

ID     Start Date
1 03/12/2022
1 01/02/2023
2 01/20/2021
3 05/04/2019
3  09/01/2022
Labels (2)
4 Replies
BrunPierre
Specialist III
Specialist III

Dimension: ID

Expression: FirstSortedValue([Start Date], -[Start Date])

smanas
Contributor III
Contributor III
Author

Hi @BrunPierre  Thank you -  but, gives me an error invalid visualization. 

BrunPierre
Specialist III
Specialist III

Share a snippet of the error.

Gabbar
Creator III
Creator III

aggr(Max(Start_Date),ID)

Regards, Akash Dhandhi.
If this resolves your Query please like and accept this as an answer.