Forum Discussion
Dynamic Tool Tip
Hi Experts!
I have a measure that returns different results based on a slicer selection. Now, when I put this measure into a plot as the Y-Axis, the Tool Tip says YAxisValue (or whatever I choose to name it). What I really want is the Tool Tip to be Dynamic based on what the Slicer Selection is. Any thoughts on how to do this?
YAxisValue :=
VAR _Sel = SELECTEDVALUE(MySlicer[ID])
VAR _Ret =
SWITCH(
_Sel,
1, Something...,
2, Something else...
)
RETURN
_Ret
Hi WishAskedSooner - Create a new measure that dynamically returns a tooltip message based on the slicer selection
DynamicTooltip :=
VAR _Sel = SELECTEDVALUE(MySlicer[ID])RETURN
SWITCH(
_Sel,
1, "Tooltip for Selection 1",
2, "Tooltip for Selection 2",
"Default Tooltip Message"
)please check this and let me know if any
2 Replies
- rajendraongole1Super User
Hi WishAskedSooner - Create a new measure that dynamically returns a tooltip message based on the slicer selection
DynamicTooltip :=
VAR _Sel = SELECTEDVALUE(MySlicer[ID])RETURN
SWITCH(
_Sel,
1, "Tooltip for Selection 1",
2, "Tooltip for Selection 2",
"Default Tooltip Message"
)please check this and let me know if any
- WishAskedSoonerContinued Contributor
LOL! I never noticed before that there is a Tooltip section that you can load a measure into. Wow! I feel so sheepish now. Thanks!