Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
An error occurred while running the script
Activity ID: c1a6e9d0-e487-4316-9e2e-5e173f5b9144
Request ID: 65233943-c041-4c1e-a464-4919def52c0c
Correlation ID: 55ad4bc7-284f-0db9-0659-315481a059e3
Time: Mon Aug 29 2022 13:40:00 GMT+0530 (India Standard Time)
Service version: 13.0.18945.52
Client version: 2208.4.12891-train
Cluster URI: https://wabi-us-north-central-e-primary-redirect.analysis.windows.net/
Hi, i'm using R script to create a custom 3D scatter plot. It works fine in power BI desktop but not in the published version.
source('./r_files/flatten_HTML.r')
############### Library Declarations ###############
libraryRequireInstall("ggplot2");
libraryRequireInstall("plotly")
####################################################
################### Actual code ####################
x <- dataset$Attr_X
y <- dataset$Attr_Y
z <- dataset$Attr_Z
fig <- plot_ly(x =x , y =y , z =z , type="scatter3d", mode="markers", color=dataset$Cluster_Name,
hovertemplate = ~paste(
'SKU:', dataset$Brand, dataset$SKU,
'<br>Power:', dataset$Attr_X,
'<br>Weight (lbs):', dataset$Attr_Z,
'<br>Price: $', dataset$Attr_Y),
showlegend = TRUE)
#fig <- fig %>% layout(title = '3D Scatter Plot')
fig <- fig %>% layout(scene = list(xaxis = list(title = 'Power'),
yaxis = list(title = 'Price'),
zaxis = list(title = 'Product Weight')))
####################################################
############# Create and save widget ###############
internalSaveWidget(fig, 'out.html');
####################################################
@v-viig any help on this please?
Hi @HemanthKumarS ,
R visuals in the Power BI service have a few limitations, I suggest you to check the considerations and limitations from the offical blog.
For reference:
Considerations and limitations
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 41 | |
| 36 | |
| 32 |