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..

1 Solution

Accepted Solutions
Not applicable
Author

This issue is because variable vshow will have one value at a time.

when it has  totalmatch, it is not Total century.


Use different varibles for text both 2 like


set variable - external variable

value - vShow2

Text Box-2 :

Conditional Layout - vShow2='totalcentury'


Thanks

Khushboo

View solution in original post

15 Replies
PrashantSangle

Hi,

Remove conditional expression.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
PrashantSangle

Hi

or go to document Property > Security > Check Show all Sheets and Objects

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
sujeetsingh
Master III
Master III

First of all try assigning integer value to variable in spite text. Just provide me a sample

Not applicable
Author

This issue is because variable vshow will have one value at a time.

when it has  totalmatch, it is not Total century.


Use different varibles for text both 2 like


set variable - external variable

value - vShow2

Text Box-2 :

Conditional Layout - vShow2='totalcentury'


Thanks

Khushboo

Anonymous
Not applicable
Author

Sorry I didn't mentioned something.textbbox.PNG

As you can see in the pic there is one big text box, which has three text-boxes in it. One among them is 'Total Match'

Similarly i have two more text boxes as below with 'Total Venue' and ' Total Won'.textbox3.PNG

textbox4.PNG

Instead of displaying them separately i planned to do as displaying them all in same place, according to the click i make in those' small white square shaped text box'. So in this case i need to hide rest two text boxes, when i click on first

'small white square shaped text box'. so i made conditional exp. Now can you say solution fr my prob

Thanks.

PrashantSangle

Hi,

Then in conditional Layout for text Box 2 do below modification.

Text Box-2 :

Conditional Layout - vShow='totalmatch'


Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
avinashelite

check the Action part in both the text boxes...how your setting the variables .....I guess your resetting the sample variable from both the text action ..create one more variable and add independent action to display both

Anonymous
Not applicable
Author

i have got lots of text boxes like above. so i thought it would be easy for me to identify with names..

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.