Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

pgrs4219
New Contributor II

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
saran7de
Contributor III

Re: conditionally hide/show text object?

Please check the attachment

agustinbobba
Contributor

Re: conditionally hide/show text object?

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
New Contributor II

Re: conditionally hide/show text object?

hi

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

MVP
MVP

Re: conditionally hide/show text object?

In the layout tab you can use one of

Field='A'

SubStringCount(Field, 'A')

GetFieldSelections(Field)='A'

PFA

1.png

MVP
MVP

Re: conditionally hide/show text object?

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
Contributor III

Re: conditionally hide/show text object?

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.