Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
03-15-2017 07:29 AM
library("zoo")
library("imputeTS")
library(tseries)
mydata =dataset[ ,1] #Values
#mydata<-na.approx(mydata) #For Testing: should be all Green if NAs are interlpolated
mydataseries<-ts(mydata) #Values,Dates
plotNA.distributionBar(mydata, breaks = nclass.Sturges(mydata), breaksize = NULL,
percentage = TRUE, legend = TRUE, axis = TRUE, space = 0,
col = c("indianred2", "green2"), main = "Distribution of NAs",
xlab = "Time Lapse", ylab = NULL)
@Rob-van-Breemen I am unable to use the 'imputeTS' package in the Power BI service. It works perfectly fine on the Power BI desktop app but it seems that it is not supported in service. I think this package fulfills the criteria for support in service which is that the package should be published in CRAN and it has a GPL-3 licence as well.
Were you able to make this work in Power BI service?
Script Runtime Error
Error in library("imputeTS") : there is no package called 'imputeTS'