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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change chart through cycle

Hello Everyone,

I have below scenario,

chart one having one dimension , three measures,

chart two having one dimension, three measures.


by default i need to place  chart one, when user clicks on cycle button the second chart should show,


i can create a button and give the action to show and hide,


I just wanted to know is there any other way to achieve this.


Thanks in advance


Regards,

Sreeharsha V.

7 Replies
Not applicable
Author

is your both chart are same, except the dimension then you can use cyclic group, by which you can see the measure according to selected dimension.

Not applicable
Author

Hello Harshita,

Thanks for the reply

my measures are different, but dimension is same.

sujeetsingh
Master III
Master III

Sree,

You can go for two logics here

1.) You can have a nested condition or a variable and use "GetCurrentField("GroupName")"

     If your group name changes from default to other then assign the variable =1.

     Make the first chart display disabled when variable =1 where as make the second chart(which is disabled  at default when variable =0) enabled when variable =1

2.) Trick based take a smallest text box object  put it just above the cyclic group icon.

   Make the text box transparent and assign action activate object.

SunilChauhan
Champion II
Champion II

create two charts and use container box and

place these two chart inside container

and then

container properties->presentation-> dropdown at top

the chart you want to keep default should be placed first in container

hope this helps

Sunil Chauhan
vikasmahajan

If you have version 11 then you can put both object into container.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

yes shreeharsha they are correct if you want to show both the objects then you can make a container box and put these two together, and if you are not happy with its styling or formatting( because it always show on top), then you can make a variable, and using a textbox you can show and hide a object. if you want to select the other object then you can add a trigger on selection of field value, or on change present in document properties (if that's the case).

With Regards

Harshita Gaur

ashwanin
Specialist
Specialist

Hi,

Same Chart can be used if you have same measures but different Dimensions.

So better to create two charts and Put them in container.