Jump to content

I have a stacked bar chart and want to customize the Tooltip so that when you hover on one of the stacks, it will show the combined total of all stacks for that category. Right now the Tooltip will only show the values for the specific segment. Possible?


Ashley Fairley
Go to solution Solved by Fredrik Rosell,

Recommended Posts

  • Solution

Hello,

Yes, you can add additional, custom values in your Tooltip using custom expressions to achieve this.

Here's an example where I added the Tooltip value "${Axis.Y.Expression} OVER (All([Axis.Color])) as [stack Total]" to calculate the current y-axis value (${Axis.Y.Expression}) over the color axis that was segmenting the bar (OVER (All([Axis.Color]))), giving it the name "[stack Total]"

expression.thumb.png.7aee3d73ca1078a404fb23e27233a84f.pngexample.thumb.png.add137fd09d30847144e5819a765076f.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...