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: 
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

 

Labels (2)
1 Reply
QFabian
MVP
MVP

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

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.