Forum Discussion
R Visual Service Error
This error usually indicates that Power BI Service is failing while processing the data passed to the R visual. It doesn't necessarily mean your R code is incorrect.
Try these steps:
1. Test in Power BI Desktop: Open the PBIX and refresh the report. If the visual works locally but fails in the Service, check the Service's R package support and execution restrictions.
2. Check the R packages: Ensure all packages used by the script are supported in Power BI Service. Desktop supports more packages than the Service.
3. Check the data: Apply filters and verify that the R visual isn't receiving empty data, unexpected nulls, or changed column names.
4. Check resource limits: R visuals have a 60-second execution limit, a 150,000-row limit, and a 250 MB input limit in the Service.
5. Republish the PBIX: If the visual works in Desktop, republish and test again