Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
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
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.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.