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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aspiring_Developer
Specialist
Specialist

Qliksense Stack bar chart percentage issue

Hello All,

I have below data set :-

Aspiring_Developer_0-1657802985145.png

Dimension - Monthname (coming from master calendar)

Measure - We have 4 measures here :-

1)Sum({<Brand={'BT'}>}Value)/Sum({<Brand={'Total Market'}>}Value)-- BT

2)Sum({<Brand={'Plusnet'}>}Value)/Sum({<Brand={'Total Market'}>}Value)- Plusnet

3)Sum({<Brand={'EE'}>}Value)/Sum({<Brand={'Total Market'}>}Value)-- EE

4) 1-(Sum({<Brand={'Plusnet','BT','EE'}>}Value)/Sum({<Brand={'Total Market'}>}Value))- ROM

 

Now I have given filters at the top for brand, type , date like below :-

Aspiring_Developer_1-1657803229729.pngAspiring_Developer_2-1657803249459.png

Aspiring_Developer_3-1657803260827.png

 

Now my problem is that since I have specified the values of brand and type in set analysis expression , I am unable to filter them . What I wish to achieve is that these charts should sync up with with these filters . As of now , only my date filter is linked with these visualizations.

Not sure, how can I achieve it . Can anyone please help ?

 

Thanks in advance

 

Labels (1)
3 Replies
Aspiring_Developer
Specialist
Specialist
Author

Can anyone please help on this ? 

@sunny_talwar @Anonymous 

justISO
Specialist
Specialist

Hi, are you tried not to make separate measures for each Brand, but make general stacked graph

justISO_0-1657874143872.png

where measure looks like this

Sum(Value) / Sum(total <Monthname> {1} Value)

In this way filters should work without problem.

RsQK
Creator II
Creator II

Hi, if i understood correctly, try these expressions:

1)Sum({<Brand*={'BT'}>}Value)/Sum({<Brand*={'Total Market'}>}Value)-- BT

2)Sum({<Brand*={'Plusnet'}>}Value)/Sum({<Brand*={'Total Market'}>}Value)- Plusnet

3)Sum({<Brand*={'EE'}>}Value)/Sum({<Brand*={'Total Market'}>}Value)-- EE

4) 1-(Sum({<Brand*={'Plusnet','BT','EE'}>}Value)/Sum({<Brand*={'Total Market'}>}Value))- ROM