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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.