Announcing the retirement of R and Python visuals in Power BI
The built-in R and Python visuals in Power BI will retire in May 2027.
What changes
This retirement applies only to R and Python visuals in interactive Power BI reports. Python scripts used in Power Query to populate tables are not affected.
- Power BI service: At retirement, all R and Python visuals will stop working in published reports, including those published before retirement.
- R-powered custom visuals: Custom visuals that use R will also no longer work at retirement.
- Older versions of Power BI Desktop: These visuals will continue to work locally using R and Python installed on your machine.
- Future versions of Power BI Desktop: After retirement, R and Python visuals will be removed, so you won't be able to add them to reports.
What you need to do
No migration within your report will recreate your exact R or Python visual. You must replace it with a different visualization before retirement.
Start reviewing your reports for R and Python visuals and communicate within your organization that reports using them will be impacted. Preserve their scripts and dependencies.
If you use Power BI project (PBIP) format and Git-integrated workspaces, search your report definitions in source control to find these visuals across multiple reports. Look for the visualType values pythonVisual for Python visuals and scriptVisual for R visuals.
Keep the visualization in your report. Rebuild it with a built-in Power BI visual or an existing custom visual. AI coding tools can also help you create a visual with the Power BI custom visuals software development kit (SDK).
The Power BI roadmap includes planned HTML and Vega core visuals for more flexible report visualizations. Check the roadmap for planned availability.
Recreate the analysis or visualization outside the report. Explore these alternatives:
- Fabric notebooks: Recreate the analysis and visualization in a notebook. Scripts may need changes for supported languages, libraries, and data access.
- Fabric Apps: Explore this option for visualizations that can't be recreated in a Power BI report.
Both Fabric notebooks and Fabric Apps can be added to Organizational Apps to share them with your audience.
Next steps
Test your replacement and let report consumers know what's changing before retirement. If you view an affected report but don't own it, contact the report owner.
Learn more in the R visuals documentation and Python visuals documentation. Share feedback on this retirement in the comments.
Published on:
Learn moreWe can help you with Announcing the retirement of R and Python visuals in Power BI
If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.