Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable Event Trigger not working


Hi, I have set two variables (vEnd_unformatted and vStart_unformatted) in a file and have set Variable event triggers for both. For some reason, when I change the value of variable through calendar object, the trigger is not working. Another interesting thing I noticed is when I reload the file right after opening it trigger is working but not subsequently. I appreciate any help on this.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Format the variables as timestamps and it should work:

='>=' & timestamp($(vStart_unformatted)) & '<=' & timestamp($(vEnd_unformatted))


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
Gysbert_Wassenaar

Format the variables as timestamps and it should work:

='>=' & timestamp($(vStart_unformatted)) & '<=' & timestamp($(vEnd_unformatted))


talk is cheap, supply exceeds demand
jvishnuram
Partner - Creator III
Partner - Creator III

Hi Ankit,

Your data model only have 3 date points so see the attachment hope it will helps you.

Not applicable
Author

Thank you for quick reply. You are the saver.

Not applicable
Author

Vishnu, Thank you for your help.

Not applicable
Author

Just out of curosity, why do we need "$" before variable ?

Nicole-Smith

For your data, you don't need the "$" before the variable because it contains a number.  However, if your variable contained a calculation that needed to be done, you would need the "$" for dollar-sign expansion in order to do the calculation.

Search for dollar-sign expansion in QV help to learn more: