Insight · Microsoft Power BI

    Power BI R and Python Visuals Retire in May 2027: How to Find and Replace Them

    R and Python visuals in Power BI, including R-powered custom visuals, retire in May 2027. What stops working, how to find affected reports and what to replace them with.

    Nick de Vrye, CTOPublished 23 November 20266 min readMore on Power BI
    Navy Solv Systems title card reading 'R and Python Visuals Retire May 2027', with the Power BI icon at the centre of a hub of Microsoft product icons.

    In Short: What Is Changing?

    Microsoft has announced that R and Python visuals in Power BI, including R-powered custom visuals, retire in May 2027. The Microsoft Learn page on script visuals, updated on 9 November 2026, sets out the impact:

    • Published reports: at retirement, all R and Python visuals stop working, including reports published before the retirement date
    • Power BI Desktop: future versions will not include R and Python visuals, so you cannot add them. Older versions keep rendering them locally with your own R or Python installation
    • R-powered custom visuals: also stop working
    • Not affected: Python scripts in Power Query that populate tables

    Microsoft gives a month, not a day. Treat the end of April 2027 as your deadline.

    Why This Matters More Than It Looks

    Script visuals tend to sit in the reports that matter. They are how analysts got charts Power BI never had: forecasts with confidence bands, statistical plots, clustering output, custom maps. They are often built by one person who has since moved on, and they rarely appear in any inventory.

    When they stop rendering, the report still opens. The visual just fails. Users will notice before IT does, unless someone looks first.

    Step 1: Find Every Affected Report

    Microsoft's Learn page does not mention an admin report or API for this. It suggests two methods.

    Review reports. For a small tenant, open the likely candidates and look. Data science and finance workspaces are the usual places.

    Search report definitions. If reports are saved as Power BI Projects (PBIP) in Git-integrated workspaces, search the report definitions for these visual types:

    • pythonVisual for Python visuals
    • scriptVisual for R visuals

    Microsoft notes that these values do not identify R-powered custom visuals, which need a separate check. Look for any R-based visual in your AppSource and organisational visuals list, then find the reports that use it.

    This is one more reason to move reports into PBIP and Git. Our guide to Power BI Projects and PBIR covers the format. For tenants without Git, we use Fabric notebooks with Semantic Link to read report definitions in bulk and list visual types per report, which turns a manual hunt into a spreadsheet.

    Step 2: Choose a Replacement for Each Visual

    Microsoft lists four routes and is clear that "no migration within your report recreates your exact R or Python visual". Pick per visual, based on what it is for.

    A built-in Power BI visual

    Many script visuals were written years ago, before Power BI had decomposition trees, key influencers, small multiples, error bars or forecasting on line charts. Check these first. Our guide to Power BI AI visuals covers several of the analytical ones.

    An existing custom visual

    AppSource has certified visuals for many common statistical charts. For bespoke charts, Deneb, a certified visual that renders Vega and Vega-Lite specifications, covers much of what people used Python and R for, and runs inside the report with no script runtime. Check your tenant's custom visual policy before relying on any of them.

    A new custom visual

    For a chart that matters and that nothing else draws, the Power BI visuals SDK lets a developer build one in TypeScript. This is the most work and needs maintaining, so keep it for the few visuals that justify it.

    A Fabric notebook or Fabric app

    If the visual is really an analysis, such as a model fit, a simulation or a clustering run, it probably belonged outside the report anyway. Microsoft suggests running it in a Fabric notebook or a Fabric app, and notes both can be added to an org app so the same audience still finds them. Our guide to Fabric apps covers what they are and what they cost.

    Step 3: Plan the Work

    1. Inventory now. List every report with an R or Python visual, its owner, its audience and how often it is used. Usage metrics tell you which ones anyone still opens. 2. Retire what nobody uses. Some of these reports will have no recent views. Agree with owners to remove them rather than rebuild them. 3. Decide a route per visual. Built-in first, then an existing custom visual, then a notebook or app, and a new custom visual only where none of these work. 4. Rebuild and test with the users. Statistical visuals are easy to rebuild slightly wrong. Compare outputs side by side before switching. 5. Stop new ones. Tell report authors now, so nobody builds a new script visual between today and May 2027.

    What We Recommend

    Start the inventory this quarter. The rebuild work is usually modest, but finding the visuals and their owners is what takes time, and a May deadline lands in the middle of most organisations' year-end reporting.

    This also sits alongside other Power BI changes on the same timeline: standalone Copilot retires in January 2027 and Q&A in February 2027. Our Power BI November 2026 update covers the rest of this month's changes.

    Sources and Further Reading

    Frequently asked

    Microsoft Learn says R and Python visuals in Power BI, including R-powered custom visuals, retire in May 2027. Microsoft has given the month but not a day.

    No. Microsoft says that at retirement all R and Python visuals stop working in published reports, including reports published before the retirement date. Older versions of Power BI Desktop keep rendering them locally, but future versions will not include them.

    No. Python scripts used in Power Query to populate tables are not affected. The retirement applies only to R and Python visuals in interactive Power BI reports.

    Yes. Microsoft says custom visuals that use R also stop working at retirement, so check AppSource and organisational visuals as well as the built-in R and Python visuals.

    Microsoft suggests reviewing reports and, for reports saved as Power BI Projects in Git-integrated workspaces, searching the report definitions for the visual types pythonVisual and scriptVisual. Those values do not identify R-powered custom visuals, which need a separate check.

    Microsoft lists four options: a built-in Power BI visual, an existing custom visual from AppSource or your organisation, a new custom visual built with the Power BI visuals SDK, or moving the analysis into a Fabric notebook or Fabric app. Microsoft notes that no migration inside the report recreates the exact visual.