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

How to conditional show/hide an object based on multiple fields

Hello,

I want to only show an object if 4 fields are selected, does anyone know the correct syntax?

Example:

field1='1'  <- this does hide the object

field1='1' & field2='1' & field3='1' <- this does not hide the object

I figure it is either not possible, or I am just not getting the syntax right.

Thanks,

Tyler

1 Solution

Accepted Solutions
Not applicable
Author

Try this:

GetSelectedCount(Field1)>0 and GetSelectedCount(Field2)>0 and GetSelectedCount(Field3)>0

View solution in original post

2 Replies
Not applicable
Author

Try this:

GetSelectedCount(Field1)>0 and GetSelectedCount(Field2)>0 and GetSelectedCount(Field3)>0

Not applicable
Author

I didnt use the getselectedcount but the 'and' syntax is what i was missing.

field1='1' and field2='1' works! Thanks!