Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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!