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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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

 

freginier
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

Do you try to use R visual from Microsoft gallery ? 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.