Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
NickHoff
Specialist
Specialist

Trigger - QuarterYear

Hello,

I'm attempting to create a trigger on sheet activate to select the Max CalendarQuarterYear, which in the data is formated as 'Q1-2016'.  When I try adding the field CalendarQuarterYear and Search String as Max(CalendarQuarterYear), or MaxString(CalendarQuarterYear) it doesn't work correctly. 

When I add MaxString(CalendarQuarterYear) to a textbox to see the result it doesn't give the latest quarter and year in the data set it gives the selected since the field is always one selected.

12 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

try with Max({<CalendarQuarterYear=>}CalendarQuarterYear)

krishnacbe
Partner - Specialist III
Partner - Specialist III

in the textbox.

NickHoff
Specialist
Specialist
Author

It provides no results.

2016-06-23_13-23-40.png

krishnacbe
Partner - Specialist III
Partner - Specialist III

Try with below expression

=MaxString({<CalendarQuarterYear=>}CalendarQuarterYear)

NickHoff
Specialist
Specialist
Author

Provides the same results as MaxString(CalendarQuarterYear) which is Q4-2015, the same as the always one selected.

2016-06-23_13-35-22.png

krishnacbe
Partner - Specialist III
Partner - Specialist III

No MaxString(CalendarQuarterYear) is different from MaxString({<CalendarQuarterYear=>}CalendarQuarterYear)

in second expression I am eliminating the selection in CalendarQuarterYear.

see the attached file.

share me sample file and expected output.

NickHoff
Specialist
Specialist
Author

I know Krishnapriya I tried with both.  I just noticed when I select a month the date changes to the maxstring.  But, month isn't required to be selected.

2016-06-23_13-46-50.png

NickHoff
Specialist
Specialist
Author

This will show what's happening more clearly.2016-06-23_13-49-00.png

2016-06-23_13-49-38.png

krishnacbe
Partner - Specialist III
Partner - Specialist III

Try excluding the Month selection in your expression