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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide/Show Objects based on selection

Hi All,Show_hide.PNG

In my application I am having two objects(LB06,LB07), My requirement is when I click one button will display one object(LB06) and click on second button will  display second object(LB06). Can we achieve this one.

12 Replies
mightyqlikers
Creator III
Creator III

create two variables vA, vB

then create two buttons in front end name them as A and B

go to A button properties and actions-> external-> set variable -> vA set 1

add another actions external-> set variable -> vB set 0

go to layout of A button then in show condition write following condition

if(vA=1,1,0)

and write in button B properties actions-> external-> set variable -> vB set 1

vA set 0

lay out conditon -> if(vB=1,1,0)

write those condtions in objects

Regards

Sam

Not applicable
Author

Hi sam wisegamzee,

Thanks for your immediate replay.

mightyqlikers
Creator III
Creator III

if you think that is what you require then you can mark it as correct answer