Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
On May 18th at 10AM EDT we will answer your QlikView questions live. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Anuhyak1
Contributor III
Contributor III

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 II
Specialist II

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