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

Clear object for Calendar

Hi All,

i have two calendar objects when i selected that rang it is working fine when i am trying clear all its not happening and i created a clear button for those object based on the variable  but still it is not working could you please help on the same.

Thanks,

Hima.

19 Replies
Anonymous
Not applicable

Hi Hima ,

If i understood properly   you had 1. start date  calendar object and 2. End Date Calendar object .  what You want to clear now  .  Can you Please share  Screen shot  exactly what you want .

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hui,

Are you storing your selection in Variable and  you want clear that variable value ,

if Yes,

Create on Text object and Goto to actions>>External>>Set Variable>>Give the Variavle Name>>Leave value with Empty

Or if you are not taking variable then you  can use Clear fiels acton Type.

if you do not understand, please the sample app for the same.

-Nagarjun

himabinduch
Creator
Creator
Author

hi mahesh

i have create two variables assigned the same for the each calendar objects to get the range of the date when i am clicking clear all option my data is getting cleared except  calendar objects please find the below.

!Capture.PNG

avinashelite

Clear button will not clear the Variable values . You need to create a button and add the action to set the calendar variable values according to your need ....this will cleat the calendar object too

Hope you got the answer

ramasaisaksoft

Hi Bindu,

Calendar object with variables will show by default one value

(it is better to create like ,(it may be your variable date or else Today() ) so that while the page open trigger will show the this dates so user will also happy to see that date.

Document properties-->Triggers-->On Open(Document Event Triggers)-->Add-->Selection-->Clear All

if you feel your got solution for your issue,please close the thread by clicking "Correct Answer"

himabinduch
Creator
Creator
Author

Hi Avinash,

i created one button and added an action as external>>set variable>> variable name and value null

is anything else i have do from my end 

avinashelite

That should work , instead of setting the variable to null you could also get the to min and max of your date filed

Note: User show use the clear button created by you and when they use the default clear button by Qlik that does not clear the variable

himabinduch
Creator
Creator
Author

Hi Avinash,

i did the same but it is not working.

avinashelite

share the sample app let me check