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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rajamahesh
Employee
Employee

Custom R visual is failing to load with Script Error on Powerbi Service but working on PBI Desktop

Hi 

 

I created a Custom R visual using packages & versions as below

'dplyr' with version 0.8.0.1

'visNetwork' with version 2.0.3

Versions i chosed are based on the version recommendations shared in the docs page @Learn which R packages are supported - Power BI | Microsoft Docs

 

Visual is loading absolutely fine in Powerbi Desktop.

 

But when published to service its failing with Script Error, but NOT providing any details on why its failed. 

 

I am seeing below error, but i am NOT able to scroll to see on why the script is failing. Any help please!

rajamahesh_0-1626964018776.png

 

 

 

1 ACCEPTED SOLUTION
rajamahesh
Employee
Employee

Thanks for the response @ibendlin.

Actually for some reason, powerbi service is not giving the scrolling on the screen, because of which i was not able to see the complete details of the error when the website is set at 100% zoom.

When i did a zoom out to 30% .... i was able to see the actual error. The actual error is not related package version issue but something else. 

 

After some tries, i was able to resolve the issue and visual is now working in pbi service as well. 

 

Thanks a lot for the response still. 

View solution in original post

2 REPLIES 2
rajamahesh
Employee
Employee

Thanks for the response @ibendlin.

Actually for some reason, powerbi service is not giving the scrolling on the screen, because of which i was not able to see the complete details of the error when the website is set at 100% zoom.

When i did a zoom out to 30% .... i was able to see the actual error. The actual error is not related package version issue but something else. 

 

After some tries, i was able to resolve the issue and visual is now working in pbi service as well. 

 

Thanks a lot for the response still. 

lbendlin
Super User
Super User

are you using a personal gateway and is the gateway up to date on these packages?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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