Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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
Former Employee
Former 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
Former Employee
Former 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
Former Employee
Former 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