Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I've been experimenting and created a simple -rhtml visual for PBI using dummy data. The visual is working fine on the desktop app and on my own Power BI service account. When we tried adding it in to the list of the visuals allowed within the organisation it stopped working. On PBI service it gives the Script runtime error, on the desktop version it gives: "R script error. Loading required package..."
The same visual, just imported, not added to the allowed visuals, is still working fine on the desktop app. Could you please, help me with understanding what the issue is?
Solved! Go to Solution.
Hi @Hasacz257 ,
When an R script encounters an error, the figure above shows the error message that appears when an R script fails to run properly due to a missing R package in Azure.
You can try to get those R packages installed, go check to see if the visual objects in the organization can be added to it, and check the it.
For visual objects in your organization, Power BI visual objects may contain code that is a security or privacy risk if installed from a file. Before deploying Power BI visual object files to an organization repository, ensure that you trust the author and source of the Power BI visual object files.
Below is the official link will help you:
Organizational visuals - Microsoft Fabric | Microsoft Learn
Organization visuals in Power BI - Power BI | Microsoft Learn
Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Learn
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Hasacz257 ,
When an R script encounters an error, the figure above shows the error message that appears when an R script fails to run properly due to a missing R package in Azure.
You can try to get those R packages installed, go check to see if the visual objects in the organization can be added to it, and check the it.
For visual objects in your organization, Power BI visual objects may contain code that is a security or privacy risk if installed from a file. Before deploying Power BI visual object files to an organization repository, ensure that you trust the author and source of the Power BI visual object files.
Below is the official link will help you:
Organizational visuals - Microsoft Fabric | Microsoft Learn
Organization visuals in Power BI - Power BI | Microsoft Learn
Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Learn
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.