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
Toni_H
Frequent Visitor

Custom R Visual not showing category values once published to service

Hello all,

We have created a custom visual in R and it is working great in desktop; however, once I publish to the service, the category labels disappear and are replaced by NA and nothing is plotting appropriately.

Here is a screenshot of what it should look like versus the result.
Desktop result:

Toni_H_0-1655533198558.png

 

Service result:

Toni_H_1-1655533215109.png

 


We installed the correct version of ggplot2 and double-checked all the packages were compatible, unsure of what we are missing.

Thanks for your help,
T

4 REPLIES 4
Toni_H
Frequent Visitor

I have and they work.

Maybe it is in the code?

Toni_H_0-1655567415068.png

 

Are you aware of Power BI Service limitations ? if not see this https://docs.microsoft.com/en-us/power-bi/visuals/service-r-visuals#r-scripts-security

 

I am and I don't see any that apply to our situation. Unless I am missing something...

freginier
Super User
Super User

Do you try to use R visual from Microsoft gallery ? 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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