Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
GeosoftRim
Contributor III
Contributor III

Combined bar char

GeosoftRim_0-1621239147344.png

Hello
I want to present in a combined bar chart three measures for one dimension.
but each time the calculations are not good and here is what it gives it is the same value for the three measurements

1 Solution

Accepted Solutions
OmarBenSalem

try

count (reftdr) 

count ({< PcaTdr.sens ={'+'}>}reftdr) 

count ({< PcaTdr.sens ={'-'}>}reftdr) 

View solution in original post

4 Replies
OmarBenSalem

what's your measures? at first sight, they seem wrong. Can u :

- share your measures?

- explain exactcly what you wanna count for each one?

GeosoftRim
Contributor III
Contributor III
Author

my measures are : count (reftdr) 

count( PcaTdr.sens ='+') 

count( PcaTdr.sens ='-')

I want to calculate the number of refTdr and PcaTdr.sens = '+' and PcaTdr.sens = '-' for each libste.
PcatTdr.sens is a column in the same table as refTdr which contains two values ​​+ and -

i hope it's clear now !

OmarBenSalem

try

count (reftdr) 

count ({< PcaTdr.sens ={'+'}>}reftdr) 

count ({< PcaTdr.sens ={'-'}>}reftdr) 

GeosoftRim
Contributor III
Contributor III
Author

It works thanks a lot !