Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Showing tooltip only for selected slicer value.

Hi

 

I have a slicer where values are 1,2,3,4,5 and i have a map visual which has a tooltip as Date. I want something like when user a selects a slicer value 3 then it should show date tooltip other wise tooltip should not be displayed.

 

Thanks,

Shubham

  • Nolock's avatar
    Nolock
    7 years ago

    Hi Anonymous,

     

    I see. Unfortunately, report tooltips don't work on custom visuals, see below from https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

     

    Limitations and considerations

    There are a few limitations and considerations for tooltips to keep in mind.

    • Beginning with the December 2018 release of Power BI Desktop, Button visuals also support tooltips.
    • Report tooltips are not supported when viewing reports in mobile apps.
    • Report tooltips are not supported for custom visuals.
    • Clusters are not currently supported as fields that can be shown in report tooltips.
    • When choosing a field to be shown for report tooltips, when using a field versus a category, visuals that contain that field will only show the specified tooltip when summarization with the selected field matches.

5 Replies

  • Nolock's avatar
    Nolock
    Icon for Resident Rockstar rankResident Rockstar

    Hi Anonymous,

     

    create a custom column with an IF condition and use this column as tooltip.

     

    MyTooltipColumn =
    IF ( TestTable[Column2] = 3; "My new tooltip"; BLANK () )
    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for your reply.

      For other values it is showing as null, but i dont want to show tooltip for other values not even null. It should not get displayed.

      • Nolock's avatar
        Nolock
        Icon for Resident Rockstar rankResident Rockstar

        Please check the following 2 screenshots. If Column2 == 3, then the tooltip is there, otherwise there are only other columns used in the chart.

         

        But if you even want to remove the Column1 and Column2 from the tooltip window you have to create a report page tooltip. How to do that you can find unter https://docs.microsoft.com/en-us/power-bi/desktop-tooltips.