Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Publishing R visual into Power BI Service-Run time error RODBC

i have successfuly built an report on Power BI Desktop which includes R script to create a ggplot using "ODBC Driver 13 for SQL Server" for data connection. however when i have published the report i...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi Anonymous,

     

    I'd like to suggest you take a look at following links to know limitations when you use R script on power bi service.

     

    Reference links:

    R packages in the Power BI service

    Creating R visuals in the Power BI service

     

    R scripts security

    R visuals are created from R scripts, which could potentially contain code with security or privacy risks.

    These risks mainly exist in the authoring phase when the script author run the script on their own computer.

    The Power BI service applies a sandbox technology to protect users and the service from security risks.

    This sandbox approach imposes some restrictions on the R scripts running in the Power BI service, such as accessing the Internet, or accessing to other resources that are not required to create the R visual.

     

    Known Limitations

    R visuals in the Power BI service have a few limitations:

    • R visuals support is limited to the packages identified on the following page . There currently is no support for custom packages.

       

    • Data size limitations – data used by the R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.

    • Calculation time limitation – if an R visual calculation exceeds 60 seconds the script times out, resulting in an error.

    • R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself is not interactive and does not support tool tips.

    • R visuals respond to highlighting other visuals, but you cannot click on elements in the R visual in order to cross filter other elements.

    • R visuals are currently not supported for the Time data type. Please use Date/Time instead.

    • R Visuals do not display when using Publish to web.

    • R visuals currently do not print with dashboard and reports printing

    • R visuals are currently not supported in the DirectQuery mode of Analysis Services

     

    As document 'r security' mentioned, current it block all requests such as 'accessing the Internet', or 'accessing to other resources' that are 'not required' to create the R visual.

     

    Regards,

    Xiaoxin Sheng