Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
shahar_potash
Partner - Contributor
Partner - Contributor

Show the total value at the top of stacked bar chart

I want to show the total value on the top of the stacked bar chart.

I created an expression that sums the columns of the chart

(expression= cloumn(1)+cloumn(2)+column(3)...) and in the display options menu i ticked on the "Values on Data Point" option.

It works fine and i see the total value at the top of the stacked bar, but when some of the columns have a negative value i see the total value at the bottom of the stacked bar in addition to the top.

I want to show the total value only at the top of the staked bar even when some of the column have a negative value.


Any idea?

6 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

Fabs(Column(1) + column(2) + column(3))

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
shahar_potash
Partner - Contributor
Partner - Contributor
Author

Thanks about the answer..but same result

avinashelite

Uses Fabs() function

shahar_potash
Partner - Contributor
Partner - Contributor
Author

its doesn't work..

arasaraja_cts
Partner - Contributor III
Partner - Contributor III

Hi ,

Please share a sample application.

Thanks

Raja

rohitraut
Creator
Creator

Hello Shahar,

PLease find the .qvw.

Hope this help!