Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe 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.
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.
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
);
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |