Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I am trying to follow the example in Microsoft website
I have installed R 3.5.1 and latest RStudio.
I have installed the "mice" package.
I have loaded the file EuStockMarkets_NA and from within Power Query inserted the "Run R Script" step.
I have copied and pasted the code in the example and while running it, got an error message, :
DataSource.Error: ADO.NET: R script error.
Loading required package: lattice
Attaching package: 'mice'
The following objects are masked from 'package:base':
cbind, rbind
Error in parse(text = x, keep.source = FALSE) :.........
Please find the file in this link: Running R script error
Thank you for the help,
Regards,
Tamir
Solved! Go to Solution.
I found the problem...
The script in the Microsoft Demo should have an extra line to set the dataset parameter
dataset <- read.csv(file="C:/Users/user/Google Drive/PowerPivot Power BI/EuStockMarkets_NA.csv", header=TRUE, sep=",")
Tamir
I found the problem...
The script in the Microsoft Demo should have an extra line to set the dataset parameter
dataset <- read.csv(file="C:/Users/user/Google Drive/PowerPivot Power BI/EuStockMarkets_NA.csv", header=TRUE, sep=",")
Tamir
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
71 | |
56 | |
39 | |
35 |
User | Count |
---|---|
66 | |
66 | |
59 | |
53 | |
45 |