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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors