Forum Discussion
How to change tooltip based on hover selection?
- 3 years ago
Anonymous see attached, making your data unpivot makes things easy, no need to write multiple measures and you can always filter by any attribute/inventory type etc. Tweak the solution as you see fit.
Are you Calling a special pop-up Tooltip page for this? How did you set that up?
Also looks like you have 4 individual measure on the Y axis, not a single field Y axis and some field (your 'category') in the Legend section of the chart.
Is it a coincedence that "Below SS Cases" is alphabetically first in the list of those 4 measures? I think not.
Yes I'm calling a separate tooltip for this visual. In this case it's essentially taking the first Category field, which like you mentioned is in ABC order. I don't have anything in the legend section, as I'm using separate calculations to come up with the 4 buckets. Unfortunately using 1 column here doesn't work, because the 4 buckets have logic that need to be derived.
essentially I want the label to display as "Excess" when I hover over "Excess Cases", "Healthy" when I hover over "Healthy Cases", so on and so forth.