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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

custom axes on a bar chart

hello

working on a bar chart with stacked as style

the expression is showing by month the percentage of closed and open tickets

so far so good

but the Y-axis is showing the %

what I want to show on the Y-axis is the total number of tickets

my dimensions is Month

I have 2 expressions

count({<condition of closed>} ticketId )/count(ticketID)

count({<condition of opened>} ticketID)/count(ticketID)

please advise

I can walk on water when it freezes
1 Solution

Accepted Solutions
kji
Employee
Employee

8 Replies
Anonymous
Not applicable

try adding another expression cound(ticketID) to the list of expressions and promote it to the top. in axes tab, you may want to set count(ticketID) as axis Position to Left (Bottom) and the other two expressions with axis Position to Right (Top) and you could decide if you want to hide the axis on right.

ali_hijazi
Partner - Master II
Partner - Master II
Author

but I don't want to show the bar of the total per month

I can walk on water when it freezes
Anonymous
Not applicable

turn that to invisible. there is a check mark below the Comment field.

SunilChauhan
Champion II
Champion II

go to chart properties--->number ----> select express one by one and untick  show in % at the bottom

hope this helps

Sunil Chauhan
ChiragPradhan
Creator II
Creator II

Hi Ali

I have attached a sample I created. The other option is to use a combo chart and display the percentages on a line chart, make the line invisible and display the totals on the Bar chart.

Hope it helps !

Regards

ali_hijazi
Partner - Master II
Partner - Master II
Author

this is very helpful

but can we simply plot the percentages inside the other bars?

I can walk on water when it freezes
kji
Employee
Employee

like this?

ChiragPradhan
Creator II
Creator II

Dual is the answer !