<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic r HTML visual widget - Plotly elements have suddenly stopped working across multiple visuals in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/r-HTML-visual-widget-Plotly-elements-have-suddenly-stopped/m-p/3295376#M7699</link>
    <description>&lt;P&gt;I have created several custom r HTML visuals that use the Plotly library to output an html file, as per this tutorial from Microsoft: &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/funnel-plot-from-r#convert-visual-to-rhtml-based-visual" target="_blank" rel="noopener"&gt;Build a funnel plot from R script to R visual - Power BI | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At 4pm GMT 2023-06-20, all of these visuals were working fine in PowerBI Desktop (July 2022 and May 2023 versions across two machines), as well as in multiple reports published to the PowerBI service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, at 9am GMT today (2023-06-21), all r HTML plotly visuals just display a blank output on all of the platforms mentioned above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within one of the visuals, I have created an option to instead display the output as a HTML datatable using the R DT library. This output still displays correctly, so all of the underlying R calculations seem to be working, as well as the ability to output an HTML visual - just not one that is using Plotly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone else experiencing this, or is anyone aware of any changes that may have suddenly caused this to occur?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The visuals have been created using pbiviz v4.0.5 due to known issues with later versions of the rhtml template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Developer/Issue-with-R-plotly-in-pbiviz-versions-4-0-6/m-p/3140532#M41814" target="_blank" rel="noopener"&gt;Re: Issue with R plotly in pbiviz versions 4.0.6+ - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 11:14:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-21T11:14:11Z</dc:date>
    <item>
      <title>r HTML visual widget - Plotly elements have suddenly stopped working across multiple visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/r-HTML-visual-widget-Plotly-elements-have-suddenly-stopped/m-p/3295376#M7699</link>
      <description>&lt;P&gt;I have created several custom r HTML visuals that use the Plotly library to output an html file, as per this tutorial from Microsoft: &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/funnel-plot-from-r#convert-visual-to-rhtml-based-visual" target="_blank" rel="noopener"&gt;Build a funnel plot from R script to R visual - Power BI | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At 4pm GMT 2023-06-20, all of these visuals were working fine in PowerBI Desktop (July 2022 and May 2023 versions across two machines), as well as in multiple reports published to the PowerBI service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, at 9am GMT today (2023-06-21), all r HTML plotly visuals just display a blank output on all of the platforms mentioned above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within one of the visuals, I have created an option to instead display the output as a HTML datatable using the R DT library. This output still displays correctly, so all of the underlying R calculations seem to be working, as well as the ability to output an HTML visual - just not one that is using Plotly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone else experiencing this, or is anyone aware of any changes that may have suddenly caused this to occur?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The visuals have been created using pbiviz v4.0.5 due to known issues with later versions of the rhtml template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Developer/Issue-with-R-plotly-in-pbiviz-versions-4-0-6/m-p/3140532#M41814" target="_blank" rel="noopener"&gt;Re: Issue with R plotly in pbiviz versions 4.0.6+ - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 11:14:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/r-HTML-visual-widget-Plotly-elements-have-suddenly-stopped/m-p/3295376#M7699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-21T11:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: r HTML visual widget - Plotly elements have suddenly stopped working across multiple visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/r-HTML-visual-widget-Plotly-elements-have-suddenly-stopped/m-p/3295752#M7703</link>
      <description>&lt;P&gt;And just as suddenly, they've all started working again. No change to anything and didn't even have to close Power BI desktop to get them working again on there - just switch report pages to force a refresh. The same thing had not worked all morning.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm glad they're back, but I'd be interested to hear any theories people have on why this happened as I'm still stumped and would like to be able to give a summary of what happened to the users of our reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My only theory at the moment is something to do with plotly loading a file from the web and this temporarily being blocked (or plotly itself being down for some time so said theoretical file couldn't be accessed, though I couldn't see any evidence of this when I looked at their status page and generating plotly graphs using R outside of Power BI seemed to work fine).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 16:04:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/r-HTML-visual-widget-Plotly-elements-have-suddenly-stopped/m-p/3295752#M7703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-21T16:04:56Z</dc:date>
    </item>
  </channel>
</rss>

