Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

R script on MS Cloud Service

Hi,

 

Is it possible to publish a report that uses R scripts to shape data to Microsoft Power BI Cloud Service? My coworker says it's not and I found some information only on scripting visuals but does this really differ? At the end it's running R scripts on MS servers in both cases.

  • Hi Anonymous ,

     

    The data source will be created with R script(in Power Query) when you use R script to get value. It cannot be published to service.

    But R script visual is just a custom visual graphic essentially( does not affect the data ). So you could publish it to service.

     

3 Replies

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

    Hi Anonymous ,

     

    The data source will be created with R script(in Power Query) when you use R script to get value. It cannot be published to service.

    But R script visual is just a custom visual graphic essentially( does not affect the data ). So you could publish it to service.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi v-eachen-msft ,

       

      thank you for your response. I was talking about scripts that work on data sources. Is there any way I could bypass it, i.e. creating some kind of custom datasource on my side that would work on my data before Power BI Cloud pulls it and stick to my R script? Or maybe there is a good way to use regex in M language (which I doubt)?

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

        Hi Anonymous ,

         

        As far as I know, there is no way to do it.

        However, you could post your ideas here, maybe it will be a feature of Power BI in the future.