Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Activate multiple object in qlikview action

     Hi There

how to activate multiple object in qlikview action?

Thanks,

11 Replies
MK_QSL
MVP
MVP

Can you please describe little more on your requirements?

ashishpalkar
Creator III
Creator III
Author

Hi

I have 10 Objects in Sheet 1 , another 10 objects in sheet 2.

I want to remove sheets and add all objects in one single sheet.

Now I have created 2 buttons , after clinking button A 10 Objects should be display , after clicking on Button B 10 Objects should be display.

petter
Partner - Champion III
Partner - Champion III

Where are you buttons? On the Sheet 1 or Sheet2 ... You will have to move each of the objects to a new Sheet... Is it ok for you to have a Macro or do you need to do it in regular non-macro Actions?

MK_QSL
MVP
MVP

Create a Variable vList

Value set as 0


Now Create a Button/Text Object

Name as List

Action - Add - External - Set Variable


Variable

vList


Value

=If(vList = 0, 1, 0)

Now for all 10 Objects/Charts go to layout tab

Show

Conditional

vList = 1

Now for all other 10 Objects/Chart go to layout tab

Show

Conditional

vList = 0

daniel_kusiak
Creator II
Creator II

Please see the attached file.

ashishpalkar
Creator III
Creator III
Author

Thanks for the quick response,  what if I add 2 more buttons, each should show 10 Objects respectively.

Now we have

Button A  - 10 Objects

Button B - 10 Objects

Button C - 10 Objects

Button D - 10 Objects

All objects are on same sheet.

MK_QSL
MVP
MVP

like this?

ashishpalkar
Creator III
Creator III
Author

Thanks , it looks what I needed. One observation, when click on button twice associated objects is getting disappear.  

MK_QSL
MVP
MVP

Change Action as below

=If(vList <> 1,1,1)

=If(vList <> 1,2,2)

etc