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
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
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.