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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ashokt025
New Member

R visual - script runtime error

Hi,

 

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.

 

Regards,

Ashok T.

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Ashokt025

 

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

 

Regards,

Jimmy Tai

Anonymous
Not applicable

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.

 

Regards,

Ashok T.

Anonymous
Not applicable

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.

 

Regards,

Ashok T

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.