Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

r HTML visual widget - Plotly elements have suddenly stopped working across multiple visuals

I have created several custom r HTML visuals that use the Plotly library to output an html file, as per this tutorial from Microsoft: Build a funnel plot from R script to R visual - Power BI | Microsoft Learn 

 

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. 

 

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. 

 

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. 

 

Is anyone else experiencing this, or is anyone aware of any changes that may have suddenly caused this to occur?

 

The visuals have been created using pbiviz v4.0.5 due to known issues with later versions of the rhtml template. 

Re: Issue with R plotly in pbiviz versions 4.0.6+ - Microsoft Fabric Community

1 REPLY 1
Anonymous
Not applicable

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. 

 

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.

 

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). 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors