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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi ,
We would like to combine the use template RHTML (ggplot2) and manipulatedwidget (but manipulatedwidget package R is not included in list of package in powerBI) for create an internal custom visual R
Requierements :
Change the dimensions/attributs in the visual R and keep the interactive part.
Is there another way ?
library(manipulateWidget)
library(plotly)
plotTest <- function(xvar, yvar, zvar){
plot_ly(x = ~dataset[[xvar]], y = ~dataset[[yvar]], color = ~dataset[[zvar]],
type = "scatter", mode = "markers") %>%
layout(xaxis = list(title=xvar), yaxis = list(title=yvar))
}
plotTest("Dim1", "Dim2", "Cluster")
varNames <- names(dataset)[2:6]
variables <- names (dataset)[7:10]
manipulateWidget(
plotTest(xvar, yvar, zvar),
xvar = mwSelect(varNames),
yvar = mwSelect(varNames, value = "Dim1"),
zvar = mwSelect (variables, value = "Cluster")
)Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.