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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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

[email protected]

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

[email protected]

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

[email protected]

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

[email protected]

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors