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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
pgrs4219
Contributor III
Contributor III

conditionally hide/show text object?

hi,

i have a requirement that there are 4 text objects and one list box,i want to do hide/show for the text objects depending upon the fields which i have selected in the list box. please help me out.

Thanks

Payal

6 Replies
Saravanan_Desingh

Please check the attachment

agustinbobba
Partner - Creator
Partner - Creator

Hi pgrs4219,

Here an example, you need to use the Show Conditional on the Texbox properties.

2016-03-21_17-26-33.png

2016-03-21_17-24-50.png

Best regards,

Agustin.

pgrs4219
Contributor III
Contributor III
Author

hi

Thanks for replying back.if i do this it is hiding all the time.not displaying for corresponding field.

maxgro
MVP
MVP

In the layout tab you can use one of

Field='A'

SubStringCount(Field, 'A')

GetFieldSelections(Field)='A'

PFA

1.png

jagan
Partner - Champion III
Partner - Champion III

Hi,

You can try in the

Text Object Properties -> Layout -> Conditional and give below expressions

=Only(FieldName) = 'Value1' for Text object 1

=Only(FieldName) = 'Value2' for Text object 2


=Only(FieldName) = 'Value3' for Text object 3


=Only(FieldName) = 'Value4' for Text object 4


Note: Change above values accordingly.


Regards,

Jagan.

amayuresh
Creator III
Creator III

Try this,

1.PNG

Got to Layout tab of each Text Object and set below property,

1.PNG

with expression as =GetFieldSelections(Categroy)='A' for A text object. Repeat the same condition for B,C,D Text Object as well

I think, this will help you.