cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SeanLaTulippe Frequent Visitor
Frequent Visitor

Issue with displaying a plotly R script in power bi desktop

Hello,

 

I have a R script that I wrote (works in R studio), but it wont display in power bi desktop. I can display the simple ggplot. However, when i convert my graph to a plotly, using the ggplotly() command, and try to show the graph, I get the error:

 

"Can't display this visual. No image was created. The R code didn't result in creation of any visuals. Make sure your R script results in a plot to the R default device."

 

Any thots? 

 

Thanks,

Sean

2 REPLIES 2
Community Support Team
Community Support Team

Re: Issue with displaying a plotly R script in power bi desktop

Hi @SeanLaTulippe,

 

>>"Can't display this visual. No image was created. The R code didn't result in creation of any visuals. Make sure your R script results in a plot to the R default device."

Based on error message, I think current r visual not support to some advanced operation. You should use the base function to instead.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
SeanLaTulippe Frequent Visitor
Frequent Visitor

Re: Issue with displaying a plotly R script in power bi desktop

Well, actually PowerBI does support the plotly package. It just doesn't seem to work exactly the same as it might in R Studio or another R IDE. 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 498 members 3,897 guests
Please welcome our newest community members: