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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Baskar
Resident Rockstar
Resident Rockstar

Change R visual to Custom visual with Tooltip

Thanks Advanced !!!

 

Hi,

 

I have tried to create R visual in power BI and i successfully complete that visual as well. 

Now the challange is i have change the R visual as Custom visual. because i need tooltip on my visual.

Am totally blank on this, how can i acheive this.

 

Your help is priceless.Man Tongue

6 REPLIES 6
v-viig
Community Champion
Community Champion

Hello @Baskar

 

We'll include our R-script developer to assist with this feature.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Baskar
Resident Rockstar
Resident Rockstar

@v-viig let me know when i will get touch with R-Developer.

v-viig
Community Champion
Community Champion

Hello @Baskar

 

Our developer will investigate the posibility to use tooltips with R.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

v-viig
Community Champion
Community Champion

To use tooltips API, the developer will need to:

  1. Transition from standard R-script visual to HTML R Custom visual, that may be very easy or very complicated, depending on packages used.
  2. Add to every relevant entity in the R HTML widget an “on-hover” behavior invoking tool-tips API (this can and should be done using plotly’s commands in the R script)
  3. Connect the specific details to be shown in the tooltip to the call in “b.” – this may be difficult for certain visualizations.

 

Pros:

  1. Same look and feel as other PBI visuals
  2. Can display tooltips outside of visual’s iframe boundaries.

 

Cons:

  1. Requires some TS coding
  2. Depending on specific implementation, may be difficult to implement.

 

To use plotly’s built-in tool tips, the developer will still need step “1.” above (static images won’t generate tooltips, he must generate a functioning HTML widget…)

 

Pros:

  1. Only R coding, (aside from transition to R HTML widget)
  2. Data automatically available for tooltip.

 

Cons:

  1. Tooltips limited to visual’s plot R area.
  2. Look and feel inconsistent with PBI’s

 

You might also take a look at https://github.com/Microsoft/powerbi-visuals-funnel as an example.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Anonymous
Not applicable

I am facing the same problem. Did you find a way to make tool tip work in R visual ?

v-viig
Community Champion
Community Champion

Have you tried the solution posted above?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.