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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

otravers
Community Champion
Community Champion

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/

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

3 REPLIES 3
otravers
Community Champion
Community Champion

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/

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals
Anonymous
Not applicable

"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

BhaveshPatel
Community Champion
Community Champion

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.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.