Showing results for 
Search instead for 
Did you mean: 
Ashokt025 New Member
New Member

R visual - script runtime error



I have developed an r script in power bi for 3D stacked bar and it works fine in the power bi desktop version.

but when I publish it it gives me script runtime error. The library i am using is latticeExtra and the R version is 3.5.1.


Kindly help me out as this has to reach my customer ASAP.



Ashok T.

Community Support Team
Community Support Team

Re: R visual - script runtime error



According to the list of R packages which are supported by power bi service, latticeExtra is supported. Does the gateway configured properly?



Jimmy Tai

Ashokt0025 Frequent Visitor
Frequent Visitor

Re: R visual - script runtime error

Hi Jimmy Tai,


I have used excel source and its in import mode.

Hence i didnot configure the gateway.

Only this visual has an error other filters of the same page are working fine. 

Kindly need your help.



Ashok T

Ashokt0025 Frequent Visitor
Frequent Visitor

Re: R visual - script runtime error

Hi Jimmy Tai,


I also configured the data source moving this to SQL server with retaining the import mode,

still i am getting the same error. Please help me with this issue.



Ashok T.

Helpful resources

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 310 members 2,880 guests
Please welcome our newest community members: