Forum Discussion
Plotly using R in POWER BI
Hi all,
First time using R and for someone reason its seems to be a hit and miss.
My code is below.
# dataset <- data.frame(H, SA, MA, Year, Subject)
# dataset <- unique(dataset)
library(plotly)
fig <- plot_ly(data = dataset, x = ~SA, y = ~MA)
fig6 Replies
- VijayPCommunity Champion
https://community.powerbi.com/t5/Desktop/Using-Plot-ly-with-R-in-Power-BI-Desktop/m-p/717803
This thread may help you!
- VijayPCommunity Champion
Check the details on the error statement. you should be able to know the problem statement
- bobbob123Helper III
This is the message I recieve.
No image was created. The R code didnt result in creation of any visuals.
As I've said It works on R Studio and I can run other simple scripts on Power BI using R. But I can't seem to get plotly to work.
- v-chenwuz-msftCommunity Support
Hi bobbob123 ,
Please check this limitation list if there are some limitations in your operating environment.
Learn which R packages are supported - Power BI | Microsoft Docs
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.