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

Return max selected date

Hi

I'm trying to return the maximum selected date in order to do a number of calculations based on periods before the  maximum selected date.

Inception DateId Count
Jan-2110
Feb-2112
Mar-218
Apr-2110
May-215
Jun-216
Jul-2110
Aug-2115
Sep-2120
Oct-2125
Nov-2112
Dec-2115
Jan-2212

 

So if for example the user selects months up to March 2021 the formula would return March 2021 as max month

I created the following variable:

=Date(Max([Inception Date.autoCalendar.YearMonth]), 'YYYY-MMM')

However it returns Jan 2022 regardless of the months selected.

Any help would be appreciated

 

1 Reply
JustinM
Contributor III
Contributor III
Author

Any Ideas?