Reply
Hasacz257
Regular Visitor

rhtml visual not displaying

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? 

Hasacz257_0-1721834214593.png

Hasacz257_1-1721834336646.png

 

 

1 ACCEPTED SOLUTION
avatar user
Anonymous
Not applicable

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.

vxiandatmsft_0-1721893367458.png

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.

View solution in original post

1 REPLY 1
avatar user
Anonymous
Not applicable

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.

vxiandatmsft_0-1721893367458.png

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.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)