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