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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select box on change event

Hi,

Is there a way to bind an onchange event to a select box, in order to display a graph when something is selected in this select box ?

I know that the graphic can be shown if a condition is met. ( e.g. : Display the graph if a variable is set to 1 ).

But I don't know how to modify the value of the variable by the select box.

Thanks in advance.

Ozgür.

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

Hi,

You can have a variable with the following expression:

=IF(GetSelectedCount(TEAM)>0,1,0)

The variable value will be 1 if the user has made at least one selection on the field TEAM.

Or you can include this expression directly on the chart show condition.

I used this on the attached sample app.

Hope it helps,

Erich

View solution in original post

2 Replies
erichshiino
Partner - Master
Partner - Master

Hi,

You can have a variable with the following expression:

=IF(GetSelectedCount(TEAM)>0,1,0)

The variable value will be 1 if the user has made at least one selection on the field TEAM.

Or you can include this expression directly on the chart show condition.

I used this on the attached sample app.

Hope it helps,

Erich

Not applicable
Author

Hi Erich,

Your example is what I was looking for .

It helped me to resolve my problem.

Thank you very much ,

Ozgür.