Forum Discussion

WishAskedSooner's avatar
WishAskedSooner
Icon for Continued Contributor rankContinued Contributor
1 year ago
Solved

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...
  • rajendraongole1's avatar
    1 year ago

    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