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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display last 3 years in a textbox and ignore selections in list boxes

Hi,


I have 3 text boxes objects that contains 3 expressions to display the Year of the last 3 years, however i don't want it to be affected by the selections in the Date list boxes.


Text box 1

='FY '&$(=max(Year-2))


Text box 2

='FY '&$(=max(Year-1))


Text box 3

='FY '&$(=max(Year))


How can I fix the values to be ignored by the selections in the list boxes?


Thanks in advance for your help


Cheers,

Paulo

1 Solution

Accepted Solutions
sunny_talwar

Try this:

Text box 1

='FY '& (Max({1}Year)-2)

Text box 2

='FY '& (Max({1}Year)-1)

Text box 3

='FY '& (Max({1}Year))

View solution in original post

1 Reply
sunny_talwar

Try this:

Text box 1

='FY '& (Max({1}Year)-2)

Text box 2

='FY '& (Max({1}Year)-1)

Text box 3

='FY '& (Max({1}Year))