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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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