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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

Clear Calendar object selections

Hi all ,

I am having Start Date & End Date (From - To) in my calendar object ,

So, Here the problem is once i clear the selections ...

Then Calendar object is also clear.

Thanks,

Madhu

Labels (1)
3 Replies
stigchel
Partner - Master
Partner - Master

Instead of using a field for the contents of the calendar object use a variable e.g.vFromDate. Set the contents of this variable to

=Min(Date)

See also attached

maxgro
MVP
MVP

I think you can add a field event trigger (Menù --> Settings --> Document properties --> Triggers) and use the getselectedcount function, something like

='(' &

if(GetSelectedCount( StartDate)=0,

  '"' & Min({1} StartDate) & '"',

  '"' & Max(StartDate) & '"'

  )

& ')'

madhubabum
Creator
Creator
Author

Hi Massimo Grossi,

Thanks for your Inputs.

In my application , i am using "Variable Event Triggers" .