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: 
shawnqlikfv
Contributor
Contributor

action condition based on selected value and possible values

Hi,

I have an object and only wants to  display it only if a selected value from selection list matches from a set of values.

i.e

I have 1 chart calls  West Region

I have 1 selection box with field name State

I have 1 table State Values containing the possible values for West Region

The West Region chart action based on below criteria

if I select 'California' or 'Washington'  . from State selection box, the West Region chart will appears(.  If I select 'New York'  the West Region chart remains hidden.  Any help on this is greatly appreciated.

State Values

Washington

Nevada

California

Wyomingobject_trigger.GIF.gif

Message was edited by: shawn nguyen

14 Replies
Gysbert_Wassenaar

I don't understand the requirement. Users can define which states are part of which region? Meaning a user can decide that California no longer is part of West Region, but should be part of East Region?


talk is cheap, supply exceeds demand
shawnqlikfv
Contributor
Contributor
Author

I just attached a .qvw file with additional info.

shawnqlikfv
Contributor
Contributor
Author

Hi, I’ve attached a .qvw file and additional info to clarify my question. Thanks!

Not applicable

If Im understanding this correctly, you can use the following statement

=substringcount(concat(distinct [States],','),

GetFieldSelections(Western_States)

)

for the Show property of the table. (See attached).

HTH!

shawnqlikfv
Contributor
Contributor
Author

Patick, 

That's what I was looking for.  Thank you!!