Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
mirasubramanian7
Contributor
Contributor

Default a filter to maximum date in Qlik sense

Hello,

 

I am new to Qlik Sense. I have a filter in the app that selects the (As of Date) from a field. Wondering how to default the selection to the most recent date when no selections are applied. It defaults to the least recent date now. 

 

Thank you so much in advance.

Mira

3 Replies
anat
Master
Master

can u give a try like =if(isnull(getcurrentselection()),Max(date))

vikasmahajan

You can try sheet trigger option :

Selecet Sheer properties
Actions
Label : Currenct Year
Action : Select Values in Field
Field : Year
Value : Max(Year)     // this will pickup year dynamically.

Click on Apply & Save

 

vikasmahajan_0-1642757803292.png

Close application and open again you will get automatically dynamic filter in your dashboard.

Hope this solve your issue.

Vikas

 

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan

Like this

vikasmahajan_1-1642758009285.png

 

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.