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.
I have several R visuals (R script visuals and custom R developer visuals) that throw an execution timeout error in Power BI Service. I am aware of the known limitations with R visuals (eg. 150,000 rows, 2MB, etc), but I don't think I am bumping into those limits. My scripts use the gstat package to interpolate data using ordinary kriging and I use either leaflet (custom R developer visual) or ggplot2 (R script visual) to display the results of the kriging spatially. When my input dataset increases from 179 rows to 289 rows, I get the execution timeout error. I should note that the visuals render in Power BI Desktop, but not in Service.
My error details:
Activity ID: a8a73d18-6e9d-4ab2-830d-e1f186ae0e6e
Request ID: 53c63df8-6932-4e89-bbfc-f8d35713f6f7
Correlation ID: bbd8fc2e-95b4-72e9-659f-6cc952e12f5b
Time: Tue Mar 30 2021 08:55:56 GMT-0400 (Eastern Daylight Time)
Service version: 13.0.15751.60
Client version: 2103.4.05452-train
Cluster URI: https://wabi-west-us-b-primary-redirect.analysis.windows.net/
R Version details:
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 0.4
year 2021
month 02
day 15
svn rev 80002
language R
version.string R version 4.0.4 (2021-02-15)
nickname Lost Library Book
R script:
Hi @aforsberg ,
There are some known limitations of R visual in the Power BI Service:
Data size limitations – data used by the R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.
Calculation time limitation – if an R visual calculation exceeds 60 seconds the script times out, resulting in an error.
Creating R visuals in the Power BI service
Because you have several R visuals in the report. It is possible that the resources required to load these R scripts are insufficient in the Service, which causes a timeout error.
Try to create a test report, retain only one R visual, and then refresh to see if there is an error.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.