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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.