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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
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
Partner - Champion II
Partner - Champion II

try

count (reftdr) 

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

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

View solution in original post

4 Replies
OmarBenSalem
Partner - Champion II
Partner - Champion II

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
Partner - Champion II
Partner - Champion II

try

count (reftdr) 

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

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

GeosoftRim
Contributor III
Contributor III
Author

It works thanks a lot !