Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
ishanbansal1204
Contributor III
Contributor III

100% stack bar chart

Hi All,

I am working on creating 100 % stack bar chart.

i have selected dimensions as week and category

category includes

IF (Aggr(Sum(AMOUNT_CLIENT), [CLIENT],[YEAR],[WEEK]) < 10, 'Spender 1')

this if conditions different types of spenders.

my measure has count(distinct client)

value wise data is displayed fine but i want to convert the value into % (100 % stack bar chart)

can some one pls suggest .

22 Replies
ishanbansal1204
Contributor III
Contributor III
Author

Hi,

Its very urgent, Please help me out.

sunny_talwar

Would you be able to share a sample?

ishanbansal1204
Contributor III
Contributor III
Author

sample? how do you want that? any specific format?

Anonymous
Not applicable

Hi

use following for getting 100% for Max ...

First expression :

Sum(AMOUNT_CLIENT)

Second expression

Sum(AMOUNT_CLIENT)

/

Max(TOTAL Aggr(Sum (AMOUNT_CLIENT)

  , [CLIENT],[YEAR],[WEEK]))

ishanbansal1204
Contributor III
Contributor III
Author

Hi,

Where shall i keep this expressions?

ishanbansal1204
Contributor III
Contributor III
Author

Its coming as NULL Now.

sunny_talwar

a qvf file or excel data with your expected output will be helpful

ishanbansal1204
Contributor III
Contributor III
Author

Capture.JPG

ishanbansal1204
Contributor III
Contributor III
Author

no option of attaching the file.

In the above screen.

at a week year level i have to show them 100 percent stack bar chart

condition being the last column.

if client count is 1 then 1st bucket, if client count is between 2 to 4 then 2nd bucket and so on..

sunny_talwar

Check here to see how you can upload samples:

Uploading a Sample