Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

custom values on data points in bar chart

Hi all,

i have stacked bar chart for different kpi's.each kpi have weight.so i want show height accordingly with the weight of kpi.

ex:i have TQR,OOR,PPR kpi's.5,5,6 are corrsponding weights. so i am multipling  expresion with weights.so far it is fine .but i want show values on data points for each stack with out weight .but default values on data points is value of expression.is there any way so that i can divide the weight and show only normal value in data points.

please suggest a solution.

thanks in advance..

1 Solution

Accepted Solutions
kuba_michalik
Partner - Specialist
Partner - Specialist

You can try making your expression into a Dual() - make the text part (first) from value of KPI without weigths, and the numeric value (second) as your current expression. Example attached (chart on the right is for comparison, so you can see it works)

View solution in original post

10 Replies
giakoum
Partner - Master II
Partner - Master II

You can create a new expression without weight, and check "Text on axis" and un check everything else.

It is not on data points but it is as close as you can get.

Of course you could also create a custom expression that will show on mouse over, but i am not sure if this is what you need

Not applicable
Author


this is giving value on axis ,but i need values on each stack of bar

giakoum
Partner - Master II
Partner - Master II

not possible

And not a good idea I think. Will not your users be confused if the axis shows a different number that the value on data point?

Not applicable
Author

is there any tricky way i can get values

giakoum
Partner - Master II
Partner - Master II

not that I know off

unless you want to create text in chart with the values or an overlapping chart

both are not good ideas as the chart changes according to selections

Not applicable
Author

that is requirement from user only.they need in that way and want  y-axis to be hidden

Not applicable
Author

what about the option 'Values on Data Points'.

giakoum
Partner - Master II
Partner - Master II

Charan is asking for values from a different expression

kuba_michalik
Partner - Specialist
Partner - Specialist

You can try making your expression into a Dual() - make the text part (first) from value of KPI without weigths, and the numeric value (second) as your current expression. Example attached (chart on the right is for comparison, so you can see it works)