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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

How can i clear a date variable on open?

Hi,

I have a date range in my application, START and END.

I cannot seem to clear the START DATE no matter what i try. If i clear all selections, all selections clear apart from START DATE.

When i open the application, The START DATE calender is populated and the END DATE calender is clear.

Does anyone know how i can also get the START DATE calender to clear please?

The variables are vStartDate and vEndDate which are both mapped to TransDate field.

1 Solution

Accepted Solutions
Not applicable

Hi,

You can clear variables using trigger.

Go to Settings > Document Properties > Trigger Tab.

In OnOpen Event Trigger set the vStartDate to blank.

Here's the sample screen:

View solution in original post

2 Replies
Not applicable

Hi,

You can clear variables using trigger.

Go to Settings > Document Properties > Trigger Tab.

In OnOpen Event Trigger set the vStartDate to blank.

Here's the sample screen:

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

Thanks very much 🙂