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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
felcar2013
Partner - Creator III
Partner - Creator III

Fix a field value for a QV document

hi

do you know if it is possible to "fix" a value for the whole document? Lets say, i want always that the last timestamp is selected as default for all my document objects, so that i do not need to select it or i do not need to tell the user to always select that value.

thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable

You can set up an action on opening of the document (Document properties > Triggers > On Open > Select in Field). You may need to put in an expression to assign it to =max(TimeStamp).

Jonathan

View solution in original post

3 Replies
Anonymous
Not applicable

You can set up an action on opening of the document (Document properties > Triggers > On Open > Select in Field). You may need to put in an expression to assign it to =max(TimeStamp).

Jonathan

somenathroy
Creator III
Creator III

One approach could be taken:

Declare a variable vMxTimeStamp = Max(TimeStamp)

And then have to include this variable in all document objects's expression like

Sum(TimeStamp={<$(=vMxTimeStamp)>} where applicable.

But this solution does work as long as a user session is live. When a user starts another session vMxTimeStamp is reset to Max(TimeStamp).

Regards,

Som

felcar2013
Partner - Creator III
Partner - Creator III
Author

thanks for your answer! it was very useful