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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors