Forum Discussion
Auto refresh R source
Ah yes, according to the documentation, you need to use a gateway to refresh R. Might want to post this to Ideas if it is not already out there.
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-in-query-editor/
- MAAbdullah479 years agoHelper V
Thank You, I tested it in R studio it gives the following error:
> tempData <- mice(dataset,m=1,maxit=50,meth='pmm',seed=100)
Error in mice(dataset, m = 1, maxit = 50, meth = "pmm", seed = 100) :
No missing values foundNot sure if the same thing might happen in Power Bi or not?
- MAAbdullah479 years agoHelper V
Again On Power Bi I paste the same code:
DataSource.Error: ADO.NET: R script error.
Loading required package: methods
Warning message:
package 'mice' was built under R version 3.3.3
Error in mice(Orders_Basket_Table_1, m = 1, maxit = 50, meth = "pmm", :
object 'Orders_Basket_Table_1' not found
Execution haltedDetails:
DataSourceKind=RNote: Orders_Basket_Table_1 is the name of the dataset and it is surely available.
++++++++++++++++++
I tried as mentioned in the link:
DataSource.Error: ADO.NET: R script error.
Loading required package: methods
Warning message:
package 'mice' was built under R version 3.3.3
Error in `[.data.frame`(data, , jj) : undefined columns selected
Calls: mice -> sampler -> is.factor -> [ -> [.data.frame
Execution haltedDetails:
DataSourceKind=RBoth of them not work ?!
- BhaveshPatel7 years agoSuper User
You can use Power Update to auto refresh your Power BI File Containing R script and schedule it to auto publish to PowerBI.com. It does not require gateway set up and works with minimal set up. It is also free for certain no of tasks.
Download from