Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, i´m try to excecute this code in power bi desktop:
library(formattable) as.htmlwidget( formattable(mtcars, list(mpg = formatter("span", style = x ~ style(display = "block", "border-radius" = "4px", "padding-right" = "4px", color = "white", "background-color" = rgb(x/max(x), 0, 0)))) ) )
but, it comes with this problem
When i excecute the code in Rstudio, it works:
so, I searched in the packages soported in power bi to custom visual object and the library formattable is there. You can check by your self here:
https://docs.microsoft.com/en-us/power-bi/service-r-packages-support
so...I don´t understand, what happend...because the code is fine and the data was update like I used to do. Can you helpme?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.