Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all.
Im trying to create an R Visual to plot a control chart within Power BI.
The script has been validated and runs on Rstudio (launched from power BI) but when I run it in Power BI I get the following error.
Error Message:
R script error.
Error in data.frame(TestDate, Meas) : object 'TestDate' not found
Execution halted
Looking though the forum found similar questions with no solution. Someone suggested to change R version, I have tried with 3.3.1 and 3.6.1 so far with exact samne results.
The script I'm trying to run is as follows.
Any ideas on how to solve this?
Regards
Solved! Go to Solution.
Thanks for the susggestion but it didn't work
It actualy throws the error on the following line
Well, just commented the extra line idicated and it worked! this was the end script.
Yes, TestDate and Meas are added to Value field.
Thanks
In Rstudio runs fine.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.