cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills 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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors