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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors