Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

HIDE AN OBJECT

how to hide an object through a variable??

type the info button of this model:

http://ap.demo.qlik.com/detail.aspx?appName=Pharma% 20Sales.qvw

tks

Luis Claudio Rocha

1 Solution

Accepted Solutions
khadeer
Specialist
Specialist

Hai Rocha,

PFA.

Regards,

Khadeer

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

I haven't qliview installed on this computer, however, each object has in its properties the visibility property (Always/conditional) in the general tab.

Let's suppose we call the variable var1 so create it: LET var1=0;

In the visibility of the object write var1=1; (means that if var1 is 1 the object is visible otherwise it is hidden)

In the button go to triggers, external, set variable:

write in the upper box var1 and in the lower box: if(var1=1,0,1)

Now if you press the button the object appears and disappears.

Hope it helps

Not applicable
Author

sorry, i did not, you would have an example??

khadeer
Specialist
Specialist

Hai Rocha,

PFA.

Regards,

Khadeer

Not applicable
Author

thanks for the help

have a nice day

Luis Rocha