Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
novelnova
Regular Visitor

Custom visual report page tooltip

I have created a simple custom visual for use as a footer which just displays when data has been updated .
like
"Data refresh: 12/12/2024"
and a Coloured circle with Red Amber Green to show how long ago it was updated.
It works fine.

I want to add a Tooltip which will just be a report page tooltip.
i have it showing in the formatting option. 

novelnova_0-1735062703052.png

But I am struggling to understand how to get the add tooltip function to work as it doesn't use data points or D3 library
I have been following 
https://learn.microsoft.com/en-us/power-bi/developer/visuals/utils-tooltip#itooltipservicewrapperadd...
I am not sure how I can define these values in addTooltip

 

 

this.tooltipServiceWrapper.addTooltip(barSelectionMerged,
        (dataPoint: BarChartDataPoint) => this.getTooltipData(dataPoint),
        (dataPoint: BarChartDataPoint) => dataPoint.selectionId
        );

 

 

 

1 REPLY 1
djurecicK2
Super User
Super User

Hi @novelnova ,

I'm not totally clear on what you are trying to do. One possible approach you could try is to add a button on top of the custom visual or where you want the tooltip to appear, then remove the button border so it is essentially tranparent. Then set the tooltip for the button to the one you have created. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.