Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.