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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Displaying all text boxes..

Hi all,

I have two text boxes.

textbbox.PNG

One 'Text Box-1' displaying Total Match as 9. This text box, will be displayed only when i click on 'small white square shaped text box-1' down ( circled with red, done with conditional layout ).

Action in small white square shaped text box-1 :

set variable - external variable

value - vShow

Text Box-1 :

Conditional Layout - vShow='totalmatch'

textbox2.PNG

The Second 'Text Box-2' displaying Total Century as 5, will be displayed only when i click on 'small white square shaped text box-2' down ( circled with red, done with conditional layout ).


Action in small white square shaped text box-2 :

set variable - external variable

value - vShow

Text Box-2 :

Conditional Layout - vShow='totalcentury'


The prob is when i click on small white square shaped text box in First Text Box, the second Text Box displaying 'Total Century' is been disappearing. similarly, when i click on small white square shaped text box in Second Text Box, the First Text Box displaying 'Total Match' is been disappearing.


I should get both to be displayed. no matter what i click. Even if i click First, the second one should also display, vice versa the second one.


Thanks..

15 Replies
Anonymous
Not applicable
Author

Yes.. i tried and its working if i create a separate independent variable...

But i was wondering whether i can do with single variable.

Thanks.

Anonymous
Not applicable
Author

Thanks fr your suggestion.

I think yu got confused.

First text box:

First Big text box has 3 text boxes in it.

firsttb.PNG

Second Text box:

Second Big text box has 2 text boxes in it.

2tb.PNG

avinashelite

no, it would be bit clumsy ...while setting the variable you need to set with two values and use the match function over it to show the contents ....

Not applicable
Author

I do not think its possible with one variable.

Because a variable can store one value at a time. So when it is totalmatch it is not totalcentury and vice-versa.



Anonymous
Not applicable
Author

okay. thanks..

Anonymous
Not applicable
Author

Sure. Yes match function is right way to do. Thanks