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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
jaechavez
New Member

Geom_text labels not recognized when loading Custom R Visual

Hello,

 

I am trying to display a timeline visual using R/Plotly into Power BI. I currently have my script working at the RStudio and yet when I tried to use the imported visual into Power BI (using the method in https://www.youtube.com/watch?v=nKVEgeshlMM), it seems the labels don't appear and instead I just see a solid line. When copying my script from RStudio into the Power BI Editor, the static version seems to work just alright but also not the interactive Plotly visual I was hoping for. I wasn't certain if it was a package issue as I have ggplot/tidyverse installed or if this was just a limitation with R in Power BI?

 

The line that doesn't seem to be working or that doesn't seem to get recognized in the R/Plotly version is:

timeline_plot<-timeline_plot+geom_text().

 

Attached is a picture of the visuals:

jaechavez_0-1626819944122.png

 

Any thoughts on how to work around this? 

 

Thanks so much!

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @jaechavez,

You can take a look at the official document about r visual usage to confirm if your scenario meets the limitations:

Create Power BI visuals using R - Power BI | Microsoft Docs

BTW, I'd like to suggest you check the R script configurations first if power bi can't correctly recognize these packages.
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.