Forum Discussion

eliasrs's avatar
eliasrs
New Member
6 years ago
Solved

R Script error in Power BI but not on RStudio

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 th...
  • webportal's avatar
    webportal
    6 years ago
    Hi,

    The dataset dataframe is created automatically by Power BI, thus you don't need the following line of code:

    dataset <- data.frame(TestDate, Meas)

    If you can share the data or the pbix, perhaps I could be more helpful.