Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Having a bit of a challenge with trigger on a sheet

I want to set up an OnActivate trigger to do Select in field.

When I do this using a literal value for the Search String component, this works.

When I do this using a variable that has been loaded, it does not appear to work.  The variable represents the 'Prior Month Start Date', and the Field component of the Select in field is set to a date like 'sales_date'.

Any ideas or suggestions?

Thanks

12 Replies
Not applicable
Author

Consulted with another team member, and we came up with this:

='>='&(vPreviousMonthStart)&'<='&(vPreviousMonthEnd)

Which appears to work.

swuehl
MVP
MVP

I assume you have checked in a text box that my second suggestion does replicate the literal you put in and made it work.

Could you post a small sample QVW that demonstrates your setting?

swuehl
MVP
MVP

Ok, glad that it works now.

Seems like you are trying to select a date or timestamp range, I guess there just isn't an exact match with the previous month start date.

If all issues resolved related with your original post, please close this thread, by marking one of the answers as correct (or set the thread to 'Assumed Answered', if you want).