Forum Discussion
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.
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.
8 Replies
- AnonymousNot 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.- AnonymousNot 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.
- Poojara_D12Super 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.
- tharunkumarRTKSuper User
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!
- tharunkumarRTKSuper User
It is working in my case,
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!
- rosa_pchRegular Visitor
Thanks. I published a simple dashboard with the code you shared and it's giving the same error message.
Maybe it's an issue with my premium workspace?
- Warren_wwNew Member
Same question, did you solve it?
- samgreene1Resolver II
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