Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 II
Partner - Master II

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.