Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I am encountering an issue with my R visual. It works perfectly fine on my desktop—there are no errors in the R script, and the dataset is relatively small (just 505 rows). However, after publishing, the visual fails to render, displaying a "cannot be rendered" message.
I have thoroughly searched online for solutions but have not found anything helpful. Since the script itself runs without errors locally, I am uncertain what could be causing the rendering failure after publication. Any insights or suggestions would be greatly appreciated.
Solved! Go to Solution.
Hi @VanillaNitroPep,
Thank you for reaching out to the Microsoft fabric community forum. Additionally, thank you to @Deku, for his input regarding this issue. I have identified several alternative workarounds that may assist in resolving the thread.
Based on the error message and the information you've provided, it appears you are encountering a known limitation with R visuals in Power BI Service, particularly when using DoD or US Government cloud tenants (as indicated by your .mil cluster URI). Please consider the following key points.
Potential Cause: The Power BI Service, particularly in GCC High or DoD environments, frequently does not support R visuals due to security restrictions. Even in supported environments, only a limited number of R packages are available. Furthermore, R scripts in the Power BI Service are subject to a 20-second execution timeout.
Please confirm with your Power BI administrator if R visuals are permitted in your tenant. If they are: Use only supported R packages (such as ggplot2, dplyr, scales) and simplify your R script to execute within 20 seconds.
If R visuals are not supported: As an alternative, export your R visual as a static image (PNG) using a tool like RStudio and embed it in Power BI using the Image visual.
Kinly refers to the below following documentation links for better understanding:
Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Learn
Learn which R packages are supported - Power BI | Microsoft Learn
Also please refer to the below solved thread which is useful:
Solved: Re: r visual not displaying in Power BI service - Microsoft Fabric Community
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using the Microsoft Community Forum.
Hi @VanillaNitroPep,
Thank you for reaching out to the Microsoft fabric community forum. Additionally, thank you to @Deku, for his input regarding this issue. I have identified several alternative workarounds that may assist in resolving the thread.
Based on the error message and the information you've provided, it appears you are encountering a known limitation with R visuals in Power BI Service, particularly when using DoD or US Government cloud tenants (as indicated by your .mil cluster URI). Please consider the following key points.
Potential Cause: The Power BI Service, particularly in GCC High or DoD environments, frequently does not support R visuals due to security restrictions. Even in supported environments, only a limited number of R packages are available. Furthermore, R scripts in the Power BI Service are subject to a 20-second execution timeout.
Please confirm with your Power BI administrator if R visuals are permitted in your tenant. If they are: Use only supported R packages (such as ggplot2, dplyr, scales) and simplify your R script to execute within 20 seconds.
If R visuals are not supported: As an alternative, export your R visual as a static image (PNG) using a tool like RStudio and embed it in Power BI using the Image visual.
Kinly refers to the below following documentation links for better understanding:
Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Learn
Learn which R packages are supported - Power BI | Microsoft Learn
Also please refer to the below solved thread which is useful:
Solved: Re: r visual not displaying in Power BI service - Microsoft Fabric Community
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using the Microsoft Community Forum.
Hi @VanillaNitroPep,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @VanillaNitroPep,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @VanillaNitroPep,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
"In the service, not all of the R packages are supported"
https://learn.microsoft.com/en-us/power-bi/visuals/service-r-visuals
Check to see if the packages you are using are supported. Additional see if you are not falling foul of any of the other limitations
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |