Forum Discussion

skl2023's avatar
skl2023
Regular Visitor
2 years ago
Solved

Power BI tooltips

Hi,   I have a matrix in Power BI and am trying to get custom tooltips for each row to show a different definition. Is this possible?   e.g. I have the below table. For all rows in Measure 1 I wa...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anand24 , Greg_Deckler , thank you for your quick replies, I'll add further .

    Hi skl2023 ,

    Please follow these steps:

    1.Create a new tooltip page and place a card visual object.

    2.Use the following DAX expression to create a measure

    Measure = 
    VAR _a = SELECTEDVALUE('Table'[Type])
    VAR _b = SWITCH(TRUE(),
    _a = "Measure 1",1,  //Replace the definitions you need
    _a = "Measure 2",2,
    _a = "Measure 3",3)
    RETURN _b

    3.Setting up a tooltip page for the matrix

    4.Final output