Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
dimak123
Partner - Contributor III
Partner - Contributor III

Automatic selection from first day of the current year until yesterday

Hi to all,

I am looking for a way to make Automatic selection from first day of the current year until yesterday , every time when the model is opening

thanks a head for the help

1 Solution

Accepted Solutions
Anonymous
Not applicable

You can add a document trigger for this. Document Properties>> Triggers >> onOpen >> Add Actions >> Select in Field

Give your field name and below expression in the search string

='>=' & YearStart(today())  & '<='  & date(today()-1)

View solution in original post

3 Replies
Gysbert_Wassenaar

Add a Select in Field action to the OnOpen document trigger on the Triggers tab of the Document Properties window. The search string you need is something like: ='>=' & YearStart(Today()) & '<=' & Today()-1


talk is cheap, supply exceeds demand
Anonymous
Not applicable

You can add a document trigger for this. Document Properties>> Triggers >> onOpen >> Add Actions >> Select in Field

Give your field name and below expression in the search string

='>=' & YearStart(today())  & '<='  & date(today()-1)

dimak123
Partner - Contributor III
Partner - Contributor III
Author

thanks to all