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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

requirement

i have a stackedbar chart,where one of the dimension value is bit high,so I want to supress that value,

like suppose I have a button and if I click on that button the value for that particular dim gets added to my stacked bar ,

how to do that

10 Replies
pradosh_thakur
Master II
Master II

Post a sample  please. It will save time and will make things easier.

Learning never stops.
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

I need to suppress these high values in pink,and when I click on button these values shud be added in a stacked chart,in bydefault view it shud be excluded,

pradosh_thakur
Master II
Master II

that i understand. I asked for sample data or a dummy app replicating this  if you have.

Learning never stops.
Anonymous
Not applicable
Author

SORRY CANT SHARE THAT,

can you please help with the logic and functionality?

pradosh_thakur
Master II
Master II

i understand you cant share data  but encourage you to prepare a sample with dummy data which will make things easier.

Anyways.

use 3 dimension.

1st - A

2nd- B                                                                with conditional show hide $(v_1)=0

3rd- =if(B='PINK DIMESNION',null(),B)               with conditional show hide $(v_1)=1




Create a variable v_1

two buttons

1st button- set  v_1 to 0

2ND Button  set v_1 to 1

you are good to go.. See how hard to describe logic like this. Sample make things easier.

regards

Pradosh

Learning never stops.
Anonymous
Not applicable
Author

and if we have 3 buttons,will it wotk in that case

pradosh_thakur
Master II
Master II

For what do you need 3rd button for ?

Please mark helpful and correct answer appropriately so that it can help others in future.

Learning never stops.
Anonymous
Not applicable
Author

my issue is

I already have two buttons and variables defined

say vaddress

vproducts

so when I click on button 1 vaddress=1

I get count of addressids in my stacked bar,

and on the second button vproducts=1 I get count of productids in my stacked bar (x axis is same ,there is changein expressions),

so not for adding this hide functionality,how I shud go,

shud I add the third button with a new variable defined ,and then where I shud put the condition,:3rd- =if(B='PINK DIMESNION',null(),B)      

its bit urgent kindly help