Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reset Calendar Object values

Hi All,

I have created two Calendar object with "OrderCreateDate" field, so user can able to select a date range then he/she can see between two dates how may orders are there.

I created Variable, vStartDate and vEndDate and I used triggers,  Variable Event Trigger".

Now it is working. user can able to select the date range.

But my issue is when I clear the selection date range should be clear( I used "Action" -- > "Clear All") but it is not clear still it is showing previous selection.

Please help me

hanks.

5 Replies
parthakk
Creator II
Creator II

Hi,

Clear button shall not clear the date selected using calendar object as you used variable. The alternative option is you can reset the variable to min and max date of "OrderCreateDate".

on clear button add two more action as set variable

Variable: vStartDate

Value: min(OrderCreateDate)

Variable:vEndDate

Value: max(OrderCreateDate)

Thanks,

Partha Kulkarni

SreeniJD
Specialist
Specialist

Create a button object and in the properties select the variable and set null value. This will sure work!

Happy to Help

Sreeni

SreeniJD
Specialist
Specialist

I think this is a duplicate post. Already there was answer provided in your previous post.. Let me know if you are still facing the issue

Not applicable
Author

Hi,

Please find the Attached, i want to reset the Calendar objects.

Thanks

SreeniJD
Specialist
Specialist

Right now, I dont have licensed version of QV to open your example..

However as I suggested, please create a button object and have the logic in the button to clear the calendar objects value

Sreeni