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: 
Anonymous
Not applicable

Strange result when passing selection to variable

I'm passing field selections to a variable with a button action (set variable).  I can do it but not the way I was expecting or want to.

I have a button that makes a selection within a field (select in field) based on some filters.  This works fine.  In this same button (call it button 1) I have added a 'set variable' action to send those selections to a variable.  This does not work as it sends all fields to the variable.  However, I have another button (call it button 2) with just the 'set variable' action (using the same search string) and it does work.

My theory is that the action to 'set variable' in button 1 is happening simultaneously with all the other actions and the field selection hasn't had time to make its selections by the time the set variable action takes off (its set as the last action so I assumed it would be done last).  Does Qlikview wait to launch each action until the previous action is complete?  I'm thinking it launches them in order but doesn't wait for it to finish before moving on to the next action.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Apparently this has already been documented

Execution order of actions

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Apparently this has already been documented

Execution order of actions