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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional Show based on list box

Hi guys

I have a chart in Qlikview that I only want to show when , Yes is selected in listbox called [New Field]

I have gone into the charts properties on the layout tab > selected show > conditional and wrote

if ([New Field] ='Yes')

This does not work, also I have tried variations of getselectfield in the same place

Can anyone help ?

Thanks

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

In the condition box enter the following expression

GetFieldSelections([New Field]) = 'Yes'

View solution in original post

4 Replies
nagaiank
Specialist III
Specialist III

In the condition box enter the following expression

GetFieldSelections([New Field]) = 'Yes'

Not applicable
Author

Thanks Krish works perfect

Can I ask, if there were 2 conditions so for eg [New Field] = Yes and Colour= Green ?

would that be

Doesnt seem to work !!

GetFieldSelections([New Field]) = 'Yes',COLOUR ='Green'

nagaiank
Specialist III
Specialist III

If COLOUR field is in a different listbox, your expression will be

GetFieldSelections([New Field]) = 'Yes' and GetFieldselections(COLOUR) ='Green'

Not applicable
Author

Perfect thanks