Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_chan
Specialist
Specialist

How to create LOW MEDIUM HIGH bar chart with Y-axis 0-100% & number value in the data points

Hi guys,

I need to create a bar chart as below, has anyone done it before? any advise?

- i have a top 20 list - field = top_list dimension & 1 rating (low, medium, high) dimension

- 1 expression, count(record_number)

- each of the bar must up to 100%

- the low medium high segment short and long , depends on the count of record number. 

screenshot.jpg

Rgds

Jim

1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

see attached

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

5 Replies
Frank_Hartmann
Master II
Master II

There is no native QV Option to show absolute numbers within a percentage axis! Thats why you need to create an extra transparent chart with invisible expressions and overlay this to the existing chart!

See attached file for workaround!

hope this helps

jim_chan
Specialist
Specialist
Author

i saw your qvw file.  u r using expression:

(count({<Rating={'HIGH'}>}Category))/count(Category)

y cannot (count({<Rating={'HIGH'}>}Category))/count( TOTAL Category)

???

Frank_Hartmann
Master II
Master II

that was just to get the proportions and the percentage axis for the transparent chart.

Perhaps the attached solution might be better but the probleme will be to fit the absolute numbers to the

corresponding bar. perhaps someone has a better solution....

vinieme12
Champion III
Champion III

USE a DUAL expression, there is no need to overlay a transparent chart

can you post a data sample to demonstrate

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

see attached

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.