Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional text box

Does anyone know how I can set a text box to only display when field [Project Name] only has one value selected?

1 Solution

Accepted Solutions
JonnyPoole
Employee
Employee

On the layout tab of the text box properties is a show/conditional checkbox.

Check that.

Then enter a condition like:   getselectedcount( [Project Name]) = 1

you could also do getpossiblecount( [Project Name]) = 1 

this would handle the situation where a user may not have selected a project name, but through other selections, there is only one (white) project name possible anyways.

View solution in original post

4 Replies
JonnyPoole
Employee
Employee

On the layout tab of the text box properties is a show/conditional checkbox.

Check that.

Then enter a condition like:   getselectedcount( [Project Name]) = 1

you could also do getpossiblecount( [Project Name]) = 1 

this would handle the situation where a user may not have selected a project name, but through other selections, there is only one (white) project name possible anyways.

Not applicable
Author

Jon saves my day again!

JonnyPoole
Employee
Employee

hurray !

its_anandrjs

Yes use GetSelectedcount() function for this in the layout properties of the text object in Conditional write expression

=Getselectedcount( [Project Name]) = 1


See snap for that

LayoutBox.png


Regards

Anand