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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
djallelsadki
Partner - Creator
Partner - Creator

Bar chart problem

Hi,

I have the following bar chart :

dimension "indic" which is set to "Total" and "Detail"

and a second dimension "Category" which has the values: "Chicken", "Frozen ",....

my formula is:

=if(indic<>'detail',

    count({<Distributeur=>} num_ligne)/count( {<Distributeur=>}Total num_ligne)

           ,count({$<Catégorie>}num_ligne)/count( {$<Catégorie>}total num_ligne))




here's what I get

img1.jpg

by selecting multiple distributors :
img2.jpg
The problem is here :
when I select a single distributor, i get this

values ​​belonging to the total appear
img3.jpg

whereas what I want is :

img4.jpg

I hope this is clear,

thanks,

Djallel Sadki

0 Replies