Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anuhyak1
Creator
Creator

Conditional Expressions - Stacked Bar Chart

I have a Stacked bar chart which has case count broken down into Intial VS Followup (buttons has different conditional expressions ))


I need to hide and show based on certain button conditions. 


1. If I select Show Initial case button , only bar for should show up Initial cases and respective counts.

2. If I select 'FollowUpCases button', only bar for Followup should show up and their respective counts.

3. If no selections are made, then the bars should show sum of all the Counts(Intial+Followup) (stacked)

4. If no selections are made, then the bars should show side by side instead of stacked sum of all the Counts(Intial+Followup)

Anuhyak1_0-1605739163917.png

 

1 Reply
QFabian
Specialist III
Specialist III

Hi @Anuhyak1 ,

You first must declare the variable, from Settings\Vriable Overview, like this  :

QFabian_1-1605750405492.png

QFabian_2-1605750546286.png

 

Then you can use your variables, in the conditional property if the desired expression, like this :

QFabian_0-1605750281867.png

 

QFabian