Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set a max date variable

Hi everyone,

I am interested in setting a variable that stores the latest date from a field that I have in my data (called 'DATE'). I have tried this:

date(max(DATE), 'MM/DD/YYYY')

but that only is giving me the max date of the current selection. How can I alter this so it gives me the max date stored in the field regardless of selection?

Thanks.

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

date(max({1}DATE), 'MM/DD/YYYY')


Hope this helps!

View solution in original post

1 Reply
jerem1234
Specialist II
Specialist II

date(max({1}DATE), 'MM/DD/YYYY')


Hope this helps!