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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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