Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.