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: 
vignesh_s
Creator
Creator

max year

i have cleard the dash board ,now i wanna dispaly max year details even after i clear ,but without triger11.png

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be assign for all reports using {<Year = {$(=Max(Year))} >}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

13 Replies
Anil_Babu_Samineni

May be assign for all reports using {<Year = {$(=Max(Year))} >}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Chanty4u
MVP
MVP

you can try with option set clear state .

select whatever you want in the dashboard and    set clear state and save close open again you will see default selection

surendraj
Specialist
Specialist

Select maximum year-->In Clear-->Set to clear state-->this will shows your max year even you clear the app.

Chanty4u
MVP
MVP

herecel.PNG

YoussefBelloum
Champion
Champion

you can do it with a Button associated with actions.

Create a Clear Button:

1st action: clear all selections

2nd action: select the Max Year

devarasu07
Master II
Master II

Hi,

Have your tried with always one selected value option? if not you can try to select any value in the Year list box, after that  to list box properties and select General > "Always One Selected Value" enable check box.

i would suggest best way go with trigger and always one selected value option (trigger used to auto fetch the max year value and always one selected value prevent from clear selection)

Capture.JPG

Capture.JPG

Thanks,

Deva

avinashelite

create a variable to store the max date and use the same in all the charts where you need to show the max date

vignesh_s
Creator
Creator
Author

thanks,but i used =only(year) every where in my dashboard ,is thr any short cutr in single step to change all =only(year) to =max(year)

vignesh_s
Creator
Creator
Author

i wanna same action to perform without trigger,any how i got solution thanks