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

show % instead of total on bar chart

Hello

I'm look for a solution to display % instead of total value on ca bar chart.

For example,

barshowpercentage.PNG

There are two expressions. Red one shows the total count of defects found, while gray shows the count of not problem found.

If I turn on "Values on Data Points" option, the bar chart shows total of value of red count plus gray count.

How can I make it show the percentage of red out of gray?

Thanks,

Josh

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

You have to create 2 expressions for each category. the category that you want to show %, you need to use Dual function with Num format as %.

It can be shown as % but only when value is plotted inside segment, when value on top, it's still showing as number.

Please see the attached file.

View solution in original post

2 Replies
Not applicable
Author

Hi,

You have to create 2 expressions for each category. the category that you want to show %, you need to use Dual function with Num format as %.

It can be shown as % but only when value is plotted inside segment, when value on top, it's still showing as number.

Please see the attached file.

Anonymous
Not applicable
Author

It works great!

Thanks,

Josh