Forum Discussion

xl0911's avatar
xl0911
Helper III
4 years ago
Solved

Multi line hover text

Hello,   I want to set a simple note (but multi line note) when the user is hover with is mouse on a shape (or button or any thing else) it will popup, like the attached screenshot, but as I said I...
  • TomMartens's avatar
    4 years ago

    Hey xl0911 ,
    you can achieve multiline text like this:

    by creating a measure like so:

     

     

    __vizAid multiline text = 
    " first line" & UNICHAR(10) & "second line"

     

     

    The DAX function UNICHAR(10) is ingesting a new line between the two strings.

    The problem I'm often facing is that the button does not have a tooltip or something. For this reason I often create something like this:

    1. info button as base level
    2. align an "empty" card visual with a transparent background on top of the button.
    3. create a report tooltip that appears when hovering over the card visual
    4. group the button and card visual with the maintain layer order set to on

    Wondering about your solution, maybe you can post your solution here.

     

    Regards,

    Tom