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: 
dan205
Contributor III
Contributor III

Expression to filter on latest date

Is there an expression I can use in a [date] filter pane search field to select the latest date for which data has been loaded?

I tried =Max([date]) and =MaxString([date]) but they don't work. 

My date field is loaded from a SQL date field: YYYY-MM-DD.

Thanks,

Dan

Labels (2)
1 Solution

Accepted Solutions
Javizh
Partner - Contributor III
Partner - Contributor III

Hello Dan.

Try this "=date = max(total date)"

Javizh_1-1693474150277.png

 

 

Best regards.

 

View solution in original post

4 Replies
Javizh
Partner - Contributor III
Partner - Contributor III

Hello Dan.

Try this "=date = max(total date)"

Javizh_1-1693474150277.png

 

 

Best regards.

 

Mark_Little
Luminary
Luminary

=Num(Date)=Num(Max(ALL Date))

Possibly don't need the NUM()

BrunPierre
Partner - Master
Partner - Master

Ensure that the [date] field is recognized as a date field.

=Date(Max([date]), 'YYYY-MM-DD')

dan205
Contributor III
Contributor III
Author

Thanks Javizh.