Forum Discussion
R Visual Service Error
Hello All,
I've got a Service Error on my r visuals on Power Bi. It specifically states ServiceError_SemanticExecuteQueryTransformErrorKey once I click on the 'see details' icon. The visual itself just displays 'Can't display this visual.' Would anyone have any idea why this is occurring? There shouldn't be anything wrong with the code as this has been functioning fine historically. Any help would be appreciated.
Cheers
2 Replies
- v-kathullac
Community Support
Hi LiamM2026 ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
Regards,
Chaithanya - DaniyalKhaleel1
Resolver II
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