Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

R script in Query Editor - run on demand only

Hi, 

I have a R script in several queries to export data to csv file. 

But any time I enter any of those quries power BI execute R script and export several csv files. 

Is there a way to run R script on demand only?

1 Reply

  • v-xuding-msft's avatar
    v-xuding-msft
    Community Support

    Hi Anonymous ,

    Maybe it is caused by the code you created. You need to make the step of "run R script" after entering queries  in Advanced editor. 

     

    Best Regards,

    Xue Ding

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.