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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rosa_pch
Regular Visitor

R Visuals not rendering in PBI Service

 R visuals cannot be rendered. These visuals were working properly last week, nothing has changed. The two packages I'm using are 'ggplot2' and 'likert', both supported in PBI Services. The visuals render properly on PBI Desktop and the data is not large for it to have a memory or payload issue.

1 ACCEPTED SOLUTION
Poojara_D12
Super User
Super User

Hi @rosa_pch 

If your R visuals suddenly stopped rendering in Power BI Service despite working fine earlier—and they still render correctly in Power BI Desktop—this typically points to an issue with the Power BI Service environment rather than your report or R script. Since you're using ggplot2 and likert, which are both supported packages, and there have been no changes to the data size or your report logic, the root cause may be related to recent changes or temporary disruptions in the underlying R execution environment in the Power BI Service. This could include issues such as a temporary R engine failure, a problem with package dependencies, or restrictions applied by Microsoft’s hosted R runtime. Occasionally, service updates or backend changes by Microsoft may also affect how certain R packages are handled, even if unintentionally. Additionally, network or authentication issues with the service itself could prevent visuals from rendering properly. To troubleshoot, first try republishing the report to see if the issue resolves. If not, confirm that you're using supported R script syntax and that there are no file paths or local references in the script. If the issue persists, it’s best to raise a support ticket with Microsoft, as access to server-side logs is limited, and the issue may be tied to their managed R environment, which only they can fix.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

View solution in original post

8 REPLIES 8
Poojara_D12
Super User
Super User

Hi @rosa_pch 

If your R visuals suddenly stopped rendering in Power BI Service despite working fine earlier—and they still render correctly in Power BI Desktop—this typically points to an issue with the Power BI Service environment rather than your report or R script. Since you're using ggplot2 and likert, which are both supported packages, and there have been no changes to the data size or your report logic, the root cause may be related to recent changes or temporary disruptions in the underlying R execution environment in the Power BI Service. This could include issues such as a temporary R engine failure, a problem with package dependencies, or restrictions applied by Microsoft’s hosted R runtime. Occasionally, service updates or backend changes by Microsoft may also affect how certain R packages are handled, even if unintentionally. Additionally, network or authentication issues with the service itself could prevent visuals from rendering properly. To troubleshoot, first try republishing the report to see if the issue resolves. If not, confirm that you're using supported R script syntax and that there are no file paths or local references in the script. If the issue persists, it’s best to raise a support ticket with Microsoft, as access to server-side logs is limited, and the issue may be tied to their managed R environment, which only they can fix.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
samgreene1
Resolver I
Resolver I

Microsoft support is saying R/Python is not supported in soverign or non-fabric tenants.  This change happened June 1 without communication.  Previous documentation did not have this limitation - here is a March version of the page with specific support for sov./non-fabric: Learn which Python packages are supported - Power BI | Microsoft Learn

Anonymous
Not applicable

Hi @rosa_pch ,
Thank you @tharunkumarRTK for the prompt response!

It looks like this is tied to an ongoing issue. Please consider raising a support ticket for further assistance. To raise a support ticket for Fabric and Power BI, kindly follow the steps outlined in the following guide:

How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Hope this resolve your query.If so,give us kudos and consider accepting it as solution.

Regards,
Pallavi G.

 

Anonymous
Not applicable

Hi @rosa_pch ,
Could you please confirm if the issue has been resolved after raising a support case? If a solution has been found, it would be greatly appreciated if you could share your insights with the community. This would be helpful for other members who may encounter similar issues.
Thank you for your understanding and assistance.

rosa_pch
Regular Visitor

Thanks. I published a simple dashboard with the code you shared and it's giving the same error message.

rosa_pch_0-1748872104133.png

 

Maybe it's an issue with my premium workspace?

Same question, did you solve it?

tharunkumarRTK
Super User
Super User

@rosa_pch 

I tested by creating a sample R visual using 'ggplot2' and 'likert' and it is working in power bi service. 

here is the sample code

# Load necessary libraries
library(ggplot2)
library(likert)

# Create a simple sample data frame
# Rows = respondents, Columns = survey items
sample_data <- data.frame(
  Q1 = factor(c("Agree", "Disagree", "Neutral", "Agree", "Strongly Agree"), 
              levels = c("Strongly Disagree", "Disagree", "Neutral", "Agree", "Strongly Agree")),
  Q2 = factor(c("Neutral", "Agree", "Agree", "Strongly Agree", "Disagree"), 
              levels = c("Strongly Disagree", "Disagree", "Neutral", "Agree", "Strongly Agree"))
)

# Convert to likert object
likert_data <- likert(sample_data)

# Plot the likert chart
plot(likert_data)

You may want to revist the known limitations with R visualizations

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-r-visuals#known-limitations

If you sure that you are not hitting any limit then I would suggest you to reach out to the power bi support team by raising a support ticket

 

 

 

 

Connect on LinkedIn

 

 

 








Did I answer your question? Mark my post as a solution!
If I helped you, click on the Thumbs Up to give Kudos.

Proud to be a Super User!


PBI_SuperUser_Rank@2x.png

 It is working in my case, 

Screenshot 2025-06-02 at 7.29.02 PM.png

Can you check if some one disabled python or r visuals in your tenant? You can check that in power bi admin portal

 

 

 

 

Connect on LinkedIn

 

 

 








Did I answer your question? Mark my post as a solution!
If I helped you, click on the Thumbs Up to give Kudos.

Proud to be a Super User!


PBI_SuperUser_Rank@2x.png

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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 Solution Authors
Top Kudoed Authors