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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Activating object conditionally

Hi,

I want to display 4 text objects on selecting another text object. So what is the condition i need to give in Show of LAYOUT tab?

Note: I have added all the 4 text objects to a container.

Thanks in advance,

Pavan

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

First create a variable (in my example it is var_value) and set its value to 0. Then right click on the text object (the object u used to display the remaining text objects) Properties -> Action tab, Add an action to set the variable [Variable = var_value and Value = 1]. Now go to the properties of those 4 text objects and set the "Show condition to =if($(var_value)=1,1,0)".

I have attached a sample file with this. You can refer to that for more.

Thanks,

Leni Balakrishnan

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi,

First create a variable (in my example it is var_value) and set its value to 0. Then right click on the text object (the object u used to display the remaining text objects) Properties -> Action tab, Add an action to set the variable [Variable = var_value and Value = 1]. Now go to the properties of those 4 text objects and set the "Show condition to =if($(var_value)=1,1,0)".

I have attached a sample file with this. You can refer to that for more.

Thanks,

Leni Balakrishnan

Not applicable
Author

Hey many thanks, it worked.