Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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
Partner - Master
Partner - Master

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
Partner - Master
Partner - Master

Share a snippet of the error.

Gabbar
Specialist
Specialist

aggr(Max(Start_Date),ID)