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

Is it possible to use R charts that use the plotly library in Power BI Desktop?

I have some scripts that use the plotly package that work in RStudio. However, when you take them to Power BI Desktop, no graph is generated.

Do you know if it is possible to generate the graphs using the plot_ly command in Power BI?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Steve_Wheeler Established Member
Established Member

Re: Is it possible to use R charts that use the plotly library in Power BI Desktop?

"plotly" isn't listed in the R packages currently supported by Power BI - see https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-visuals/#supported-packages

Highlighted
otravers Member
Member

Re: Is it possible to use R charts that use the plotly library in Power BI Desktop?

This is an old thread but it still ranks high in Google search results, so for the benefit of people still landing here: there's been support for plotly in Power BI since mid-2017:

https://powerbi.microsoft.com/en-us/blog/interactive-r-custom-visuals-support-is-here/

3 REPLIES 3
Super User
Super User

Re: Is it possible to use R charts that use the plotly library in Power BI Desktop?

As far as I Know, You can not use Plot_ly library to generate graphs in powerbi.R visuals in PowerBI already have that kind of interactivity ( Slicers responsiveness). 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.
Steve_Wheeler Established Member
Established Member

Re: Is it possible to use R charts that use the plotly library in Power BI Desktop?

"plotly" isn't listed in the R packages currently supported by Power BI - see https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-visuals/#supported-packages

Highlighted
otravers Member
Member

Re: Is it possible to use R charts that use the plotly library in Power BI Desktop?

This is an old thread but it still ranks high in Google search results, so for the benefit of people still landing here: there's been support for plotly in Power BI since mid-2017:

https://powerbi.microsoft.com/en-us/blog/interactive-r-custom-visuals-support-is-here/