Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have followed the git tutorial to create an html custom visual with R. The visual is currently working if I add up to one tooltip column but crashes if I try to add more with the error:
"Aesthetics must be either lenght 1 or same as the data (754): x,y,colour,label"
I know it's possible to add more than one label to ggplot and this show correctly when using plotly specifying them as "label=c("label1","label2"...) so I am thinking that the problem has to do on how I am processing it on my script. The only line where I address tooltips is:
"geom_point(data = locations, mapping = aes(x = longitude, y = latitude, color = count, label= tooltip)"
Any help will be really appreciated, thanks in advance!
We'd recommend to send this issue to pbircvsupport@microsoft.com.
There're experienced R-script developers who might assist with this issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thanks, Ignat. Sent them and email this morning.
bw
I am facing the same problem. Did you find a way to add tooltips to R visual ?
We'd recommend to take a look at this topic.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |