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

Conditionnal object

Hello,

I want a selection to appear only when another selection is made in another selction box. For example, when a country is selected, I would like a slection box to appear with several cities. I used the function "match":

match(Country, 'USA')

but since it counts 3 letters, if the country equals to 'CA' or 'AU', the second selection box seems to appear while it's not the right country 😕

I tried using function with "mid" or "left saying the name should include 2 or 3 letters, but it doesn't help 😕

Thanks!

2 Replies
datanibbler
Champion
Champion


Hi,

try using Getfieldselections([Country]) to set up a visibility_condition for your listbox.

(without the square brackets of course)

Not applicable
Author

Hi,


so I have now : match(Getfieldselections(Country), 'CA') and it only appear when the selection is 'CA' or when there is no selection made 😕